0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/per_context/setup.js

16 lines
349 B
JavaScript
Raw Normal View History

// This file is compiled as if it's wrapped in a function with arguments
// passed by node::NewContext()
/* global global */
'use strict';
// https://github.com/nodejs/node/issues/14909
if (global.Intl) {
delete global.Intl.v8BreakIterator;
}
// https://github.com/nodejs/node/issues/21219
if (global.Atomics) {
delete global.Atomics.wake;
}