Skip to content

Commit

Permalink
[meta] fix spec URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 10, 2023
1 parent b3fc2d4 commit c1db731
Show file tree
Hide file tree
Showing 621 changed files with 630 additions and 630 deletions.
2 changes: 1 addition & 1 deletion 2015/AbstractEqualityComparison.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var ToNumber = require('./ToNumber');
var ToPrimitive = require('./ToPrimitive');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-abstract-equality-comparison
// https://262.ecma-international.org/6.0/#sec-abstract-equality-comparison

module.exports = function AbstractEqualityComparison(x, y) {
var xType = Type(x);
Expand Down
2 changes: 1 addition & 1 deletion 2015/AdvanceStringIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var $TypeError = GetIntrinsic('%TypeError%');

var $charCodeAt = require('call-bind/callBound')('String.prototype.charCodeAt');

// https://ecma-international.org/ecma-262/6.0/#sec-advancestringindex
// https://262.ecma-international.org/6.0/#sec-advancestringindex

module.exports = function AdvanceStringIndex(S, index, unicode) {
if (Type(S) !== 'String') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/ArrayCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (
: null
);

// https://ecma-international.org/ecma-262/6.0/#sec-arraycreate
// https://262.ecma-international.org/6.0/#sec-arraycreate

module.exports = function ArrayCreate(length) {
if (!IsInteger(length) || length < 0) {
Expand Down
2 changes: 1 addition & 1 deletion 2015/ArraySetLength.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var ToString = require('./ToString');
var ToUint32 = require('./ToUint32');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-arraysetlength
// https://262.ecma-international.org/6.0/#sec-arraysetlength

// eslint-disable-next-line max-statements, max-lines-per-function
module.exports = function ArraySetLength(A, Desc) {
Expand Down
2 changes: 1 addition & 1 deletion 2015/ArraySpeciesCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var IsConstructor = require('./IsConstructor');
var IsInteger = require('./IsInteger');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-arrayspeciescreate
// https://262.ecma-international.org/6.0/#sec-arrayspeciescreate

module.exports = function ArraySpeciesCreate(originalArray, length) {
if (!IsInteger(length) || length < 0) {
Expand Down
2 changes: 1 addition & 1 deletion 2015/Call.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var IsArray = require('./IsArray');

var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');

// https://ecma-international.org/ecma-262/6.0/#sec-call
// https://262.ecma-international.org/6.0/#sec-call

module.exports = function Call(F, V) {
var argumentsList = arguments.length > 2 ? arguments[2] : [];
Expand Down
2 changes: 1 addition & 1 deletion 2015/CanonicalNumericIndexString.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var ToNumber = require('./ToNumber');
var ToString = require('./ToString');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-canonicalnumericindexstring
// https://262.ecma-international.org/6.0/#sec-canonicalnumericindexstring

module.exports = function CanonicalNumericIndexString(argument) {
if (Type(argument) !== 'String') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/CompletePropertyDescriptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var IsDataDescriptor = require('./IsDataDescriptor');
var IsGenericDescriptor = require('./IsGenericDescriptor');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-completepropertydescriptor
// https://262.ecma-international.org/6.0/#sec-completepropertydescriptor

module.exports = function CompletePropertyDescriptor(Desc) {
/* eslint no-param-reassign: 0 */
Expand Down
2 changes: 1 addition & 1 deletion 2015/CreateDataProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var IsPropertyKey = require('./IsPropertyKey');
var SameValue = require('./SameValue');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
// https://262.ecma-international.org/6.0/#sec-createdataproperty

module.exports = function CreateDataProperty(O, P, V) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/CreateDataPropertyOrThrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var CreateDataProperty = require('./CreateDataProperty');
var IsPropertyKey = require('./IsPropertyKey');
var Type = require('./Type');

// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow
// // https://262.ecma-international.org/6.0/#sec-createdatapropertyorthrow

module.exports = function CreateDataPropertyOrThrow(O, P, V) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/CreateHTML.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var RequireObjectCoercible = require('./RequireObjectCoercible');
var ToString = require('./ToString');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-createhtml
// https://262.ecma-international.org/6.0/#sec-createhtml

module.exports = function CreateHTML(string, tag, attribute, value) {
if (Type(tag) !== 'String' || Type(attribute) !== 'String') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/CreateIterResultObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var $TypeError = GetIntrinsic('%TypeError%');

var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-createiterresultobject
// https://262.ecma-international.org/6.0/#sec-createiterresultobject

module.exports = function CreateIterResultObject(value, done) {
if (Type(done) !== 'Boolean') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/CreateListFromArrayLike.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var ToLength = require('./ToLength');
var ToString = require('./ToString');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-createlistfromarraylike
// https://262.ecma-international.org/6.0/#sec-createlistfromarraylike
module.exports = function CreateListFromArrayLike(obj) {
var elementTypes = arguments.length > 1
? arguments[1]
Expand Down
2 changes: 1 addition & 1 deletion 2015/CreateMethodProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var IsPropertyKey = require('./IsPropertyKey');
var SameValue = require('./SameValue');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-createmethodproperty
// https://262.ecma-international.org/6.0/#sec-createmethodproperty

module.exports = function CreateMethodProperty(O, P, V) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/DefinePropertyOrThrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var SameValue = require('./SameValue');
var ToPropertyDescriptor = require('./ToPropertyDescriptor');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow
// https://262.ecma-international.org/6.0/#sec-definepropertyorthrow

module.exports = function DefinePropertyOrThrow(O, P, desc) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/DeletePropertyOrThrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%');
var IsPropertyKey = require('./IsPropertyKey');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-deletepropertyorthrow
// https://262.ecma-international.org/6.0/#sec-deletepropertyorthrow

module.exports = function DeletePropertyOrThrow(O, P) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/EnumerableOwnNames.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var keys = require('object-keys');

var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-enumerableownnames
// https://262.ecma-international.org/6.0/#sec-enumerableownnames

module.exports = function EnumerableOwnNames(O) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/FromPropertyDescriptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var fromPropertyDescriptor = require('../helpers/fromPropertyDescriptor');

var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
// https://262.ecma-international.org/6.0/#sec-frompropertydescriptor

module.exports = function FromPropertyDescriptor(Desc) {
if (typeof Desc !== 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/Get.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var inspect = require('object-inspect');
var IsPropertyKey = require('./IsPropertyKey');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-get-o-p
// https://262.ecma-international.org/6.0/#sec-get-o-p

module.exports = function Get(O, P) {
// 7.3.1.1
Expand Down
2 changes: 1 addition & 1 deletion 2015/GetIterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var GetMethod = require('./GetMethod');
var IsArray = require('./IsArray');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-getiterator
// https://262.ecma-international.org/6.0/#sec-getiterator

module.exports = function GetIterator(obj, method) {
var actualMethod = method;
Expand Down
2 changes: 1 addition & 1 deletion 2015/GetMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var IsPropertyKey = require('./IsPropertyKey');

var debug = require('object-inspect');

// https://ecma-international.org/ecma-262/6.0/#sec-getmethod
// https://262.ecma-international.org/6.0/#sec-getmethod

module.exports = function GetMethod(O, P) {
// 7.3.9.1
Expand Down
2 changes: 1 addition & 1 deletion 2015/GetOwnPropertyKeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var keys = require('object-keys');

var esType = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-getownpropertykeys
// https://262.ecma-international.org/6.0/#sec-getownpropertykeys

module.exports = function GetOwnPropertyKeys(O, Type) {
if (esType(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/GetPrototypeFromConstructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var Get = require('./Get');
var IsConstructor = require('./IsConstructor');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-getprototypefromconstructor
// https://262.ecma-international.org/6.0/#sec-getprototypefromconstructor

module.exports = function GetPrototypeFromConstructor(constructor, intrinsicDefaultProto) {
var intrinsic = GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic
Expand Down
2 changes: 1 addition & 1 deletion 2015/GetSubstitution.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var isStringOrHole = function (capture, index, arr) {
return Type(capture) === 'String' || (canDistinguishSparseFromUndefined ? !(index in arr) : Type(capture) === 'Undefined');
};

// https://ecma-international.org/ecma-262/6.0/#sec-getsubstitution
// https://262.ecma-international.org/6.0/#sec-getsubstitution

// eslint-disable-next-line max-statements, max-params, max-lines-per-function
module.exports = function GetSubstitution(matched, str, position, captures, replacement) {
Expand Down
2 changes: 1 addition & 1 deletion 2015/GetV.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%');
var IsPropertyKey = require('./IsPropertyKey');
var ToObject = require('./ToObject');

// https://ecma-international.org/ecma-262/6.0/#sec-getv
// https://262.ecma-international.org/6.0/#sec-getv

module.exports = function GetV(V, P) {
// 7.3.2.1
Expand Down
2 changes: 1 addition & 1 deletion 2015/HasOwnProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var has = require('has');
var IsPropertyKey = require('./IsPropertyKey');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-hasownproperty
// https://262.ecma-international.org/6.0/#sec-hasownproperty

module.exports = function HasOwnProperty(O, P) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/HasProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%');
var IsPropertyKey = require('./IsPropertyKey');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty
// https://262.ecma-international.org/6.0/#sec-hasproperty

module.exports = function HasProperty(O, P) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/InstanceofOperator.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var OrdinaryHasInstance = require('./OrdinaryHasInstance');
var ToBoolean = require('./ToBoolean');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-instanceofoperator
// https://262.ecma-international.org/6.0/#sec-instanceofoperator

module.exports = function InstanceofOperator(O, C) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/Invoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var IsArray = require('./IsArray');
var GetV = require('./GetV');
var IsPropertyKey = require('./IsPropertyKey');

// https://ecma-international.org/ecma-262/6.0/#sec-invoke
// https://262.ecma-international.org/6.0/#sec-invoke

module.exports = function Invoke(O, P) {
if (!IsPropertyKey(P)) {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsAccessorDescriptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var assertRecord = require('../helpers/assertRecord');

var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor
// https://262.ecma-international.org/6.0/#sec-isaccessordescriptor

module.exports = function IsAccessorDescriptor(Desc) {
if (typeof Desc === 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsArray.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';

// https://ecma-international.org/ecma-262/6.0/#sec-isarray
// https://262.ecma-international.org/6.0/#sec-isarray
module.exports = require('../helpers/IsArray');
2 changes: 1 addition & 1 deletion 2015/IsConcatSpreadable.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var IsArray = require('./IsArray');
var ToBoolean = require('./ToBoolean');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable
// https://262.ecma-international.org/6.0/#sec-isconcatspreadable

module.exports = function IsConcatSpreadable(O) {
if (Type(O) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsConstructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ try {
DefinePropertyOrThrow = null;
}

// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor
// https://262.ecma-international.org/6.0/#sec-isconstructor

if (DefinePropertyOrThrow && $construct) {
var isConstructorMarker = {};
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsDataDescriptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var assertRecord = require('../helpers/assertRecord');

var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
// https://262.ecma-international.org/6.0/#sec-isdatadescriptor

module.exports = function IsDataDescriptor(Desc) {
if (typeof Desc === 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsExtensible.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var $isExtensible = GetIntrinsic('%Object.isExtensible%', true);

var isPrimitive = require('../helpers/isPrimitive');

// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
// https://262.ecma-international.org/6.0/#sec-isextensible-o

module.exports = $preventExtensions
? function IsExtensible(obj) {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsGenericDescriptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor');
var IsDataDescriptor = require('./IsDataDescriptor');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-isgenericdescriptor
// https://262.ecma-international.org/6.0/#sec-isgenericdescriptor

module.exports = function IsGenericDescriptor(Desc) {
if (typeof Desc === 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsInteger.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var floor = require('./floor');
var $isNaN = require('../helpers/isNaN');
var $isFinite = require('../helpers/isFinite');

// https://ecma-international.org/ecma-262/6.0/#sec-isinteger
// https://262.ecma-international.org/6.0/#sec-isinteger

module.exports = function IsInteger(argument) {
if (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsPromise.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var $PromiseThen = callBound('Promise.prototype.then', true);

var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-ispromise
// https://262.ecma-international.org/6.0/#sec-ispromise

module.exports = function IsPromise(x) {
if (Type(x) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsPropertyKey.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
// https://262.ecma-international.org/6.0/#sec-ispropertykey

module.exports = function IsPropertyKey(argument) {
return typeof argument === 'string' || typeof argument === 'symbol';
Expand Down
2 changes: 1 addition & 1 deletion 2015/IsRegExp.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var hasRegExpMatcher = require('is-regex');

var ToBoolean = require('./ToBoolean');

// https://ecma-international.org/ecma-262/6.0/#sec-isregexp
// https://262.ecma-international.org/6.0/#sec-isregexp

module.exports = function IsRegExp(argument) {
if (!argument || typeof argument !== 'object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IteratorClose.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var GetMethod = require('./GetMethod');
var IsCallable = require('./IsCallable');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-iteratorclose
// https://262.ecma-international.org/6.0/#sec-iteratorclose

module.exports = function IteratorClose(iterator, completion) {
if (Type(iterator) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IteratorComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var Get = require('./Get');
var ToBoolean = require('./ToBoolean');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-iteratorcomplete
// https://262.ecma-international.org/6.0/#sec-iteratorcomplete

module.exports = function IteratorComplete(iterResult) {
if (Type(iterResult) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2015/IteratorNext.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%');
var Invoke = require('./Invoke');
var Type = require('./Type');

// https://ecma-international.org/ecma-262/6.0/#sec-iteratornext
// https://262.ecma-international.org/6.0/#sec-iteratornext

module.exports = function IteratorNext(iterator, value) {
var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]);
Expand Down
2 changes: 1 addition & 1 deletion 2015/IteratorStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var IteratorComplete = require('./IteratorComplete');
var IteratorNext = require('./IteratorNext');

// https://ecma-international.org/ecma-262/6.0/#sec-iteratorstep
// https://262.ecma-international.org/6.0/#sec-iteratorstep

module.exports = function IteratorStep(iterator) {
var result = IteratorNext(iterator);
Expand Down
Loading

0 comments on commit c1db731

Please sign in to comment.