What value is this in Strict, Script, or Module?
Open following URL:
- Function: https://azu.github.io/what-is-this/
- Method: https://azu.github.io/what-is-this/method.html
- Set
[[ThisValue]]- https://tc39.github.io/ecma262/#sec-evaluatecall
- https://tc39.github.io/ecma262/#sec-call
- https://tc39.github.io/ecma262/#sec-ecmascript-function-objects-call-thisargument-argumentslist
- https://tc39.github.io/ecma262/#sec-ordinarycallbindthis
- Lookup
[[ThisValue]]
[[ThisValue]]: global
[[ThisValue]]: undefiled
- Depended on call context
- Arrow Function don't bind
[[ThisValue]] - Depended on enclosing environment
- https://tc39.github.io/ecma262/#sec-ordinarycallbindthis
- https://tc39.github.io/ecma262/#sec-arrow-function-definitions-runtime-semantics-evaluation
- https://esdiscuss.org/topic/clarification-regarding-top-level-arrow-functions-and-this-arguments
See Releases page.
Install devDependencies and Run npm test:
npm i -d && npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
MIT © azu