main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
467 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | var IsUnclampedIntegerElementType = require('./IsUnclampedIntegerElementType');
|
---|
| 4 | var IsBigIntElementType = require('./IsBigIntElementType');
|
---|
| 5 |
|
---|
| 6 | // https://262.ecma-international.org/11.0/#sec-isnotearconfiguration
|
---|
| 7 |
|
---|
| 8 | module.exports = function IsNoTearConfiguration(type, order) {
|
---|
| 9 | if (IsUnclampedIntegerElementType(type)) {
|
---|
| 10 | return true;
|
---|
| 11 | }
|
---|
| 12 | if (IsBigIntElementType(type) && order !== 'Init' && order !== 'Unordered') {
|
---|
| 13 | return true;
|
---|
| 14 | }
|
---|
| 15 | return false;
|
---|
| 16 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.