ags
This commit is contained in:
parent
eddf7cecb8
commit
aea798d119
16631 changed files with 1480363 additions and 257 deletions
12
home/ags/node_modules/es-abstract/2024/ClearKeptObjects.js
generated
vendored
Normal file
12
home/ags/node_modules/es-abstract/2024/ClearKeptObjects.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
var SLOT = require('internal-slot');
|
||||
var keptObjects = [];
|
||||
|
||||
// https://262.ecma-international.org/12.0/#sec-clear-kept-objects
|
||||
|
||||
module.exports = function ClearKeptObjects() {
|
||||
keptObjects.length = 0;
|
||||
};
|
||||
|
||||
SLOT.set(module.exports, '[[es-abstract internal: KeptAlive]]', keptObjects);
|
||||
Loading…
Add table
Add a link
Reference in a new issue