-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Window Object | ||
|
||
// browser =( engine,window object ) node.js=(engine) | ||
|
||
let variable; | ||
|
||
var a;// JavaScript codunda Declaration etdikde window obyektinin daxilide declaration edilir | ||
|
||
|
||
variable=window | ||
|
||
// Window Object Methods | ||
|
||
// Alert Method------- | ||
// alert("Hello My World") | ||
|
||
// Promt Method---------- | ||
// let val_prom =prompt("Mad Will","Domation of Road") | ||
// a="heelo" | ||
// let val_prom =prompt("Mad Will",`${a} Domation of Roadasdbhj sdahjbda ajsdas ddhs dasasda sda dsa da sd asd`) | ||
// console.log(val_prom) | ||
|
||
// Confirm Method------------ | ||
// let isLike= confirm("This Site Like?") | ||
// if (isLike){ | ||
// alert("Welcome") | ||
// }else{ | ||
// prompt("How do you like this site?") | ||
// } | ||
|
||
variable=window.location //location | ||
variable=window.location.href // url | ||
variable=window.location.hostname // host name | ||
variable=window.location.host // host portla | ||
variable=window.location.protocol // protocol | ||
variable=window.location.search // in after hostname iformation | ||
|
||
|
||
console.log(variable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ | |
- Conditional expression | ||
- Function | ||
- Function | ||
- Window Object | ||
|
||
|
||
|
||
|