source:
frontend/node_modules/object.assign/test/ses-compat.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 220 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 1 | 'use strict'; |
| 2 | ||
| 3 | /* globals lockdown */ | |
| 4 | ||
| 5 | // requiring ses exposes "lockdown" on the global | |
| 6 | require('ses'); | |
| 7 | ||
| 8 | // lockdown freezes the primordials | |
| 9 | lockdown({ errorTaming: 'unsafe' }); | |
| 10 | ||
| 11 | // initialize the module | |
| 12 | require('./'); |
Note:
See TracBrowser
for help on using the repository browser.
