ubdate
This commit is contained in:
12
node_modules/es-abstract/2021/ClearKeptObjects.js
generated
vendored
Normal file
12
node_modules/es-abstract/2021/ClearKeptObjects.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
var SLOT = require('internal-slot');
|
||||
var keptObjects = [];
|
||||
|
||||
// https://ecma-international.org/ecma-262/12.0/#sec-clear-kept-objects
|
||||
|
||||
module.exports = function ClearKeptObjects() {
|
||||
keptObjects.length = 0;
|
||||
};
|
||||
|
||||
SLOT.set(module.exports, '[[es-abstract internal: KeptAlive]]', keptObjects);
|
||||
Reference in New Issue
Block a user