Closed
Description
- Version: v7.10.0
- Platform:
Linux raspberrypi 4.4.38-v7+ build: make test-ci output TAP to stdout and log #938 SMP Thu Dec 15 15:22:21
GMT 2016 armv7l GNU/Linux
When I run this code:
Object.keys(global).forEach(k => Object.defineProperty(global, k, {set:console.log}));
global
object becomes undefined
typeof global // "undefined"
But
typeof this // "object"
And if I will run Object.keys
or Object.defineProperty
global does not become undefined. Bug?