Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log(this === module.exports)
- fn()
- strictFn()
- function fn() {
- console.log('in function', this === global)
- }
- function strictFn() {
- 'use strict'
- console.log('in strict function', this === undefined)
- }
- // info to answer questions I always get
- // no matter how many times I answer:
- // extension: Quokka
- // font: Dank Mono
- // theme: Night Owl
- // see kcd.im/mft for links
Add Comment
Please, Sign In to add comment