home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
16
home/ags/node_modules/es-abstract/2023/IsNoTearConfiguration.js
generated
vendored
Normal file
16
home/ags/node_modules/es-abstract/2023/IsNoTearConfiguration.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
var IsUnclampedIntegerElementType = require('./IsUnclampedIntegerElementType');
|
||||
var IsBigIntElementType = require('./IsBigIntElementType');
|
||||
|
||||
// https://262.ecma-international.org/11.0/#sec-isnotearconfiguration
|
||||
|
||||
module.exports = function IsNoTearConfiguration(type, order) {
|
||||
if (IsUnclampedIntegerElementType(type)) {
|
||||
return true;
|
||||
}
|
||||
if (IsBigIntElementType(type) && order !== 'Init' && order !== 'Unordered') {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue