Skip to content

Commit 9a66514

Browse files
feat: add global object
1 parent e10e04c commit 9a66514

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
INFO: What is the Global Object ?
3+
The global object is the top-level object that provides global variables and functions.
4+
It behaves differently depending on where your javascript is running.
5+
6+
7+
INFO: Global Object in Different Environments
8+
Browser = window
9+
Node.js = global
10+
Universal (ES2020+) = globalThis
11+
*/

0 commit comments

Comments
 (0)