Created
December 22, 2016 04:29
-
-
Save Trott/291c6c09d6adc7361125c17a1890e23d to your computer and use it in GitHub Desktop.
sample test for proposed change to Node.js global
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| require('../common'); | |
| const assert = require('assert'); | |
| assert(!Object.keys(global).includes('global'), | |
| 'global should be non-enumerable'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment