Source Code:
(back to article)
Submit
Result:
Report an issue
99
1
2
3
4
5
6
7
8
9
10
11
›
⌄
⌄
⌄
⌄
<!DOCTYPE html>
<
html
>
<
body
>
<
script
>
function
func
() {
return
this
;
}
alert(window.func());
//[object Window]
</
script
>
</
body
>
</
html
>
<!DOCTYPE html> <html> <body> <script> function func() { return this; } alert(window.func()); //[object Window] </script> </body> </html>