odin-js-fundamentals-part-4/node_modules/object.assign/test/ses-compat.js

13 lines
220 B
JavaScript

'use strict';
/* globals lockdown */
// requiring ses exposes "lockdown" on the global
require('ses');
// lockdown freezes the primordials
lockdown({ errorTaming: 'unsafe' });
// initialize the module
require('./');