mirror of
https://github.com/bendtherules/blog-hashnode-backup.git
synced 2026-08-18 13:42:04 +00:00
update post: Closure and this - How are variables resolved within functions?
This commit is contained in:
@@ -160,6 +160,7 @@ These two methods are implemented on all types of environments (scope). Here is
|
||||
|
||||
| Environment Type | HasThisBinding() | GetThisBinding() |
|
||||
|--------|--------|---------------|
|
||||
| function | true/false | [[ThisValue]] |
|
||||
| block scope | false | - |
|
||||
| module | true | undefined |
|
||||
| global | true | global object |
|
||||
|
||||
Reference in New Issue
Block a user