From c1db731891d8eb1d74f31a87a6fa3d7d71b69da0 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 10 Jan 2023 13:27:52 -0800 Subject: [PATCH] [meta] fix spec URLs --- 2015/AbstractEqualityComparison.js | 2 +- 2015/AdvanceStringIndex.js | 2 +- 2015/ArrayCreate.js | 2 +- 2015/ArraySetLength.js | 2 +- 2015/ArraySpeciesCreate.js | 2 +- 2015/Call.js | 2 +- 2015/CanonicalNumericIndexString.js | 2 +- 2015/CompletePropertyDescriptor.js | 2 +- 2015/CreateDataProperty.js | 2 +- 2015/CreateDataPropertyOrThrow.js | 2 +- 2015/CreateHTML.js | 2 +- 2015/CreateIterResultObject.js | 2 +- 2015/CreateListFromArrayLike.js | 2 +- 2015/CreateMethodProperty.js | 2 +- 2015/DefinePropertyOrThrow.js | 2 +- 2015/DeletePropertyOrThrow.js | 2 +- 2015/EnumerableOwnNames.js | 2 +- 2015/FromPropertyDescriptor.js | 2 +- 2015/Get.js | 2 +- 2015/GetIterator.js | 2 +- 2015/GetMethod.js | 2 +- 2015/GetOwnPropertyKeys.js | 2 +- 2015/GetPrototypeFromConstructor.js | 2 +- 2015/GetSubstitution.js | 2 +- 2015/GetV.js | 2 +- 2015/HasOwnProperty.js | 2 +- 2015/HasProperty.js | 2 +- 2015/InstanceofOperator.js | 2 +- 2015/Invoke.js | 2 +- 2015/IsAccessorDescriptor.js | 2 +- 2015/IsArray.js | 2 +- 2015/IsConcatSpreadable.js | 2 +- 2015/IsConstructor.js | 2 +- 2015/IsDataDescriptor.js | 2 +- 2015/IsExtensible.js | 2 +- 2015/IsGenericDescriptor.js | 2 +- 2015/IsInteger.js | 2 +- 2015/IsPromise.js | 2 +- 2015/IsPropertyKey.js | 2 +- 2015/IsRegExp.js | 2 +- 2015/IteratorClose.js | 2 +- 2015/IteratorComplete.js | 2 +- 2015/IteratorNext.js | 2 +- 2015/IteratorStep.js | 2 +- 2015/IteratorValue.js | 2 +- 2015/ObjectCreate.js | 2 +- 2015/OrdinaryCreateFromConstructor.js | 2 +- 2015/OrdinaryDefineOwnProperty.js | 2 +- 2015/OrdinaryGetOwnProperty.js | 2 +- 2015/OrdinaryHasInstance.js | 2 +- 2015/OrdinaryHasProperty.js | 2 +- 2015/QuoteJSONString.js | 2 +- 2015/RegExpExec.js | 2 +- 2015/SameValueZero.js | 2 +- 2015/Set.js | 2 +- 2015/SetFunctionName.js | 2 +- 2015/SetIntegrityLevel.js | 2 +- 2015/SpeciesConstructor.js | 2 +- 2015/SymbolDescriptiveString.js | 2 +- 2015/TestIntegrityLevel.js | 2 +- 2015/ToDateString.js | 2 +- 2015/ToInt16.js | 2 +- 2015/ToInt8.js | 2 +- 2015/ToInteger.js | 2 +- 2015/ToNumber.js | 2 +- 2015/ToObject.js | 2 +- 2015/ToPrimitive.js | 2 +- 2015/ToPropertyKey.js | 2 +- 2015/ToString.js | 2 +- 2015/ToUint8.js | 2 +- 2015/ToUint8Clamp.js | 2 +- 2015/Type.js | 2 +- 2015/ValidateAndApplyPropertyDescriptor.js | 4 ++-- 2015/thisBooleanValue.js | 2 +- 2015/thisNumberValue.js | 2 +- 2015/thisStringValue.js | 2 +- 2015/thisTimeValue.js | 2 +- 2016/AbstractEqualityComparison.js | 2 +- 2016/AdvanceStringIndex.js | 2 +- 2016/ArrayCreate.js | 2 +- 2016/ArraySetLength.js | 2 +- 2016/ArraySpeciesCreate.js | 2 +- 2016/Call.js | 2 +- 2016/CanonicalNumericIndexString.js | 2 +- 2016/CompletePropertyDescriptor.js | 2 +- 2016/CreateDataProperty.js | 2 +- 2016/CreateDataPropertyOrThrow.js | 2 +- 2016/CreateHTML.js | 2 +- 2016/CreateIterResultObject.js | 2 +- 2016/CreateListFromArrayLike.js | 2 +- 2016/CreateMethodProperty.js | 2 +- 2016/DefinePropertyOrThrow.js | 2 +- 2016/DeletePropertyOrThrow.js | 2 +- 2016/EnumerableOwnNames.js | 2 +- 2016/FromPropertyDescriptor.js | 2 +- 2016/Get.js | 2 +- 2016/GetIterator.js | 2 +- 2016/GetMethod.js | 2 +- 2016/GetOwnPropertyKeys.js | 2 +- 2016/GetPrototypeFromConstructor.js | 2 +- 2016/GetSubstitution.js | 2 +- 2016/GetV.js | 2 +- 2016/HasOwnProperty.js | 2 +- 2016/HasProperty.js | 2 +- 2016/InstanceofOperator.js | 2 +- 2016/Invoke.js | 2 +- 2016/IsAccessorDescriptor.js | 2 +- 2016/IsArray.js | 2 +- 2016/IsConcatSpreadable.js | 2 +- 2016/IsConstructor.js | 2 +- 2016/IsDataDescriptor.js | 2 +- 2016/IsExtensible.js | 2 +- 2016/IsGenericDescriptor.js | 2 +- 2016/IsInteger.js | 2 +- 2016/IsPromise.js | 2 +- 2016/IsPropertyKey.js | 2 +- 2016/IsRegExp.js | 2 +- 2016/IteratorClose.js | 2 +- 2016/IteratorComplete.js | 2 +- 2016/IteratorNext.js | 2 +- 2016/IteratorStep.js | 2 +- 2016/IteratorValue.js | 2 +- 2016/ObjectCreate.js | 2 +- 2016/OrdinaryCreateFromConstructor.js | 2 +- 2016/OrdinaryDefineOwnProperty.js | 2 +- 2016/OrdinaryGetOwnProperty.js | 2 +- 2016/OrdinaryHasInstance.js | 2 +- 2016/OrdinaryHasProperty.js | 2 +- 2016/QuoteJSONString.js | 2 +- 2016/RegExpExec.js | 2 +- 2016/SameValueZero.js | 2 +- 2016/Set.js | 2 +- 2016/SetFunctionName.js | 2 +- 2016/SetIntegrityLevel.js | 2 +- 2016/SpeciesConstructor.js | 2 +- 2016/SymbolDescriptiveString.js | 2 +- 2016/TestIntegrityLevel.js | 2 +- 2016/ToDateString.js | 2 +- 2016/ToInt16.js | 2 +- 2016/ToInt8.js | 2 +- 2016/ToInteger.js | 2 +- 2016/ToNumber.js | 2 +- 2016/ToObject.js | 2 +- 2016/ToPrimitive.js | 2 +- 2016/ToPropertyKey.js | 2 +- 2016/ToString.js | 2 +- 2016/ToUint8.js | 2 +- 2016/ToUint8Clamp.js | 2 +- 2016/Type.js | 2 +- 2016/ValidateAndApplyPropertyDescriptor.js | 4 ++-- 2016/thisBooleanValue.js | 2 +- 2016/thisNumberValue.js | 2 +- 2016/thisStringValue.js | 2 +- 2016/thisTimeValue.js | 2 +- 2017/AbstractEqualityComparison.js | 2 +- 2017/AdvanceStringIndex.js | 2 +- 2017/ArrayCreate.js | 2 +- 2017/ArraySetLength.js | 2 +- 2017/ArraySpeciesCreate.js | 2 +- 2017/Call.js | 2 +- 2017/CanonicalNumericIndexString.js | 2 +- 2017/CompletePropertyDescriptor.js | 2 +- 2017/CreateDataProperty.js | 2 +- 2017/CreateDataPropertyOrThrow.js | 2 +- 2017/CreateHTML.js | 2 +- 2017/CreateIterResultObject.js | 2 +- 2017/CreateListFromArrayLike.js | 2 +- 2017/CreateMethodProperty.js | 2 +- 2017/DefinePropertyOrThrow.js | 2 +- 2017/DeletePropertyOrThrow.js | 2 +- 2017/FromPropertyDescriptor.js | 2 +- 2017/Get.js | 2 +- 2017/GetIterator.js | 2 +- 2017/GetMethod.js | 2 +- 2017/GetOwnPropertyKeys.js | 2 +- 2017/GetPrototypeFromConstructor.js | 2 +- 2017/GetSubstitution.js | 2 +- 2017/GetV.js | 2 +- 2017/HasOwnProperty.js | 2 +- 2017/HasProperty.js | 2 +- 2017/InstanceofOperator.js | 2 +- 2017/Invoke.js | 2 +- 2017/IsAccessorDescriptor.js | 2 +- 2017/IsArray.js | 2 +- 2017/IsConcatSpreadable.js | 2 +- 2017/IsConstructor.js | 2 +- 2017/IsDataDescriptor.js | 2 +- 2017/IsExtensible.js | 2 +- 2017/IsGenericDescriptor.js | 2 +- 2017/IsInteger.js | 2 +- 2017/IsPromise.js | 2 +- 2017/IsPropertyKey.js | 2 +- 2017/IsRegExp.js | 2 +- 2017/IteratorClose.js | 2 +- 2017/IteratorComplete.js | 2 +- 2017/IteratorNext.js | 2 +- 2017/IteratorStep.js | 2 +- 2017/IteratorValue.js | 2 +- 2017/ObjectCreate.js | 2 +- 2017/OrdinaryCreateFromConstructor.js | 2 +- 2017/OrdinaryDefineOwnProperty.js | 2 +- 2017/OrdinaryGetOwnProperty.js | 2 +- 2017/OrdinaryHasInstance.js | 2 +- 2017/OrdinaryHasProperty.js | 2 +- 2017/QuoteJSONString.js | 2 +- 2017/RegExpExec.js | 2 +- 2017/SameValueZero.js | 2 +- 2017/Set.js | 2 +- 2017/SetFunctionName.js | 2 +- 2017/SetIntegrityLevel.js | 2 +- 2017/SpeciesConstructor.js | 2 +- 2017/SymbolDescriptiveString.js | 2 +- 2017/TestIntegrityLevel.js | 2 +- 2017/ToDateString.js | 2 +- 2017/ToInt16.js | 2 +- 2017/ToInt8.js | 2 +- 2017/ToInteger.js | 2 +- 2017/ToNumber.js | 2 +- 2017/ToObject.js | 2 +- 2017/ToPrimitive.js | 2 +- 2017/ToPropertyKey.js | 2 +- 2017/ToString.js | 2 +- 2017/ToUint8.js | 2 +- 2017/ToUint8Clamp.js | 2 +- 2017/Type.js | 2 +- 2017/ValidateAndApplyPropertyDescriptor.js | 4 ++-- 2017/thisBooleanValue.js | 2 +- 2017/thisNumberValue.js | 2 +- 2017/thisStringValue.js | 2 +- 2017/thisTimeValue.js | 2 +- 2018/AbstractEqualityComparison.js | 2 +- 2018/AdvanceStringIndex.js | 2 +- 2018/ArrayCreate.js | 2 +- 2018/ArraySetLength.js | 2 +- 2018/ArraySpeciesCreate.js | 2 +- 2018/Call.js | 2 +- 2018/CanonicalNumericIndexString.js | 2 +- 2018/CompletePropertyDescriptor.js | 2 +- 2018/CreateAsyncFromSyncIterator.js | 2 +- 2018/CreateDataProperty.js | 2 +- 2018/CreateDataPropertyOrThrow.js | 2 +- 2018/CreateHTML.js | 2 +- 2018/CreateIterResultObject.js | 2 +- 2018/CreateListFromArrayLike.js | 2 +- 2018/CreateMethodProperty.js | 2 +- 2018/DefinePropertyOrThrow.js | 2 +- 2018/DeletePropertyOrThrow.js | 2 +- 2018/FromPropertyDescriptor.js | 2 +- 2018/Get.js | 2 +- 2018/GetIterator.js | 2 +- 2018/GetMethod.js | 2 +- 2018/GetOwnPropertyKeys.js | 2 +- 2018/GetPrototypeFromConstructor.js | 2 +- 2018/GetV.js | 2 +- 2018/HasOwnProperty.js | 2 +- 2018/HasProperty.js | 2 +- 2018/InstanceofOperator.js | 2 +- 2018/Invoke.js | 2 +- 2018/IsAccessorDescriptor.js | 2 +- 2018/IsArray.js | 2 +- 2018/IsConcatSpreadable.js | 2 +- 2018/IsConstructor.js | 2 +- 2018/IsDataDescriptor.js | 2 +- 2018/IsExtensible.js | 2 +- 2018/IsGenericDescriptor.js | 2 +- 2018/IsInteger.js | 2 +- 2018/IsPromise.js | 2 +- 2018/IsPropertyKey.js | 2 +- 2018/IsRegExp.js | 2 +- 2018/IteratorClose.js | 2 +- 2018/IteratorComplete.js | 2 +- 2018/IteratorNext.js | 2 +- 2018/IteratorStep.js | 2 +- 2018/IteratorValue.js | 2 +- 2018/ObjectCreate.js | 2 +- 2018/OrdinaryCreateFromConstructor.js | 2 +- 2018/OrdinaryDefineOwnProperty.js | 2 +- 2018/OrdinaryGetOwnProperty.js | 2 +- 2018/OrdinaryHasInstance.js | 2 +- 2018/OrdinaryHasProperty.js | 2 +- 2018/RegExpExec.js | 2 +- 2018/SameValueZero.js | 2 +- 2018/Set.js | 2 +- 2018/SetFunctionName.js | 2 +- 2018/SetIntegrityLevel.js | 2 +- 2018/SpeciesConstructor.js | 2 +- 2018/SymbolDescriptiveString.js | 2 +- 2018/TestIntegrityLevel.js | 2 +- 2018/ToDateString.js | 2 +- 2018/ToInt16.js | 2 +- 2018/ToInt8.js | 2 +- 2018/ToInteger.js | 2 +- 2018/ToNumber.js | 2 +- 2018/ToObject.js | 2 +- 2018/ToPrimitive.js | 2 +- 2018/ToPropertyKey.js | 2 +- 2018/ToString.js | 2 +- 2018/ToUint8.js | 2 +- 2018/ToUint8Clamp.js | 2 +- 2018/Type.js | 2 +- 2018/ValidateAndApplyPropertyDescriptor.js | 4 ++-- 2018/thisBooleanValue.js | 2 +- 2018/thisNumberValue.js | 2 +- 2018/thisStringValue.js | 2 +- 2018/thisTimeValue.js | 2 +- 2019/AbstractEqualityComparison.js | 2 +- 2019/AdvanceStringIndex.js | 2 +- 2019/ArrayCreate.js | 2 +- 2019/ArraySetLength.js | 2 +- 2019/ArraySpeciesCreate.js | 2 +- 2019/AsyncFromSyncIteratorContinuation.js | 2 +- 2019/Call.js | 2 +- 2019/CanonicalNumericIndexString.js | 2 +- 2019/CompletePropertyDescriptor.js | 2 +- 2019/CreateAsyncFromSyncIterator.js | 2 +- 2019/CreateDataProperty.js | 2 +- 2019/CreateDataPropertyOrThrow.js | 2 +- 2019/CreateHTML.js | 2 +- 2019/CreateIterResultObject.js | 2 +- 2019/CreateListFromArrayLike.js | 2 +- 2019/CreateMethodProperty.js | 2 +- 2019/DefinePropertyOrThrow.js | 2 +- 2019/DeletePropertyOrThrow.js | 2 +- 2019/FromPropertyDescriptor.js | 2 +- 2019/Get.js | 2 +- 2019/GetIterator.js | 2 +- 2019/GetMethod.js | 2 +- 2019/GetOwnPropertyKeys.js | 2 +- 2019/GetPrototypeFromConstructor.js | 2 +- 2019/GetV.js | 2 +- 2019/HasOwnProperty.js | 2 +- 2019/HasProperty.js | 2 +- 2019/InstanceofOperator.js | 2 +- 2019/Invoke.js | 2 +- 2019/IsAccessorDescriptor.js | 2 +- 2019/IsArray.js | 2 +- 2019/IsConcatSpreadable.js | 2 +- 2019/IsConstructor.js | 2 +- 2019/IsDataDescriptor.js | 2 +- 2019/IsExtensible.js | 2 +- 2019/IsGenericDescriptor.js | 2 +- 2019/IsInteger.js | 2 +- 2019/IsPromise.js | 2 +- 2019/IsPropertyKey.js | 2 +- 2019/IsRegExp.js | 2 +- 2019/IteratorClose.js | 2 +- 2019/IteratorComplete.js | 2 +- 2019/IteratorNext.js | 2 +- 2019/IteratorStep.js | 2 +- 2019/IteratorValue.js | 2 +- 2019/ObjectCreate.js | 2 +- 2019/OrdinaryCreateFromConstructor.js | 2 +- 2019/OrdinaryDefineOwnProperty.js | 2 +- 2019/OrdinaryGetOwnProperty.js | 2 +- 2019/OrdinaryHasInstance.js | 2 +- 2019/OrdinaryHasProperty.js | 2 +- 2019/RegExpExec.js | 2 +- 2019/SameValueZero.js | 2 +- 2019/Set.js | 2 +- 2019/SetFunctionName.js | 2 +- 2019/SetIntegrityLevel.js | 2 +- 2019/SpeciesConstructor.js | 2 +- 2019/SymbolDescriptiveString.js | 2 +- 2019/TestIntegrityLevel.js | 2 +- 2019/ToDateString.js | 2 +- 2019/ToInt16.js | 2 +- 2019/ToInt8.js | 2 +- 2019/ToInteger.js | 2 +- 2019/ToNumber.js | 2 +- 2019/ToObject.js | 2 +- 2019/ToPrimitive.js | 2 +- 2019/ToPropertyKey.js | 2 +- 2019/ToString.js | 2 +- 2019/ToUint8.js | 2 +- 2019/ToUint8Clamp.js | 2 +- 2019/Type.js | 2 +- 2019/ValidateAndApplyPropertyDescriptor.js | 4 ++-- 2019/thisBooleanValue.js | 2 +- 2019/thisNumberValue.js | 2 +- 2019/thisStringValue.js | 2 +- 2020/AbstractEqualityComparison.js | 2 +- 2020/ArrayCreate.js | 2 +- 2020/ArraySetLength.js | 2 +- 2020/ArraySpeciesCreate.js | 2 +- 2020/AsyncFromSyncIteratorContinuation.js | 2 +- 2020/Call.js | 2 +- 2020/CanonicalNumericIndexString.js | 2 +- 2020/CompletePropertyDescriptor.js | 2 +- 2020/CreateAsyncFromSyncIterator.js | 2 +- 2020/CreateDataProperty.js | 2 +- 2020/CreateDataPropertyOrThrow.js | 2 +- 2020/CreateHTML.js | 2 +- 2020/CreateIterResultObject.js | 2 +- 2020/CreateMethodProperty.js | 2 +- 2020/DefinePropertyOrThrow.js | 2 +- 2020/DeletePropertyOrThrow.js | 2 +- 2020/FromPropertyDescriptor.js | 2 +- 2020/Get.js | 2 +- 2020/GetMethod.js | 2 +- 2020/GetOwnPropertyKeys.js | 2 +- 2020/GetPrototypeFromConstructor.js | 2 +- 2020/GetV.js | 2 +- 2020/HasOwnProperty.js | 2 +- 2020/HasProperty.js | 2 +- 2020/InstanceofOperator.js | 2 +- 2020/Invoke.js | 2 +- 2020/IsAccessorDescriptor.js | 2 +- 2020/IsArray.js | 2 +- 2020/IsConcatSpreadable.js | 2 +- 2020/IsConstructor.js | 2 +- 2020/IsDataDescriptor.js | 2 +- 2020/IsExtensible.js | 2 +- 2020/IsGenericDescriptor.js | 2 +- 2020/IsInteger.js | 2 +- 2020/IsPromise.js | 2 +- 2020/IsPropertyKey.js | 2 +- 2020/IsRegExp.js | 2 +- 2020/IteratorClose.js | 2 +- 2020/IteratorComplete.js | 2 +- 2020/IteratorNext.js | 2 +- 2020/IteratorStep.js | 2 +- 2020/IteratorValue.js | 2 +- 2020/OrdinaryDefineOwnProperty.js | 2 +- 2020/OrdinaryGetOwnProperty.js | 2 +- 2020/OrdinaryHasInstance.js | 2 +- 2020/OrdinaryHasProperty.js | 2 +- 2020/RegExpExec.js | 2 +- 2020/SameValueZero.js | 2 +- 2020/Set.js | 2 +- 2020/SetFunctionName.js | 2 +- 2020/SetIntegrityLevel.js | 2 +- 2020/SpeciesConstructor.js | 2 +- 2020/SymbolDescriptiveString.js | 2 +- 2020/TestIntegrityLevel.js | 2 +- 2020/ToDateString.js | 2 +- 2020/ToInt16.js | 2 +- 2020/ToInt8.js | 2 +- 2020/ToNumber.js | 2 +- 2020/ToObject.js | 2 +- 2020/ToPrimitive.js | 2 +- 2020/ToPropertyKey.js | 2 +- 2020/ToString.js | 2 +- 2020/ToUint8.js | 2 +- 2020/ToUint8Clamp.js | 2 +- 2020/ValidateAndApplyPropertyDescriptor.js | 4 ++-- 2020/thisBooleanValue.js | 2 +- 2020/thisNumberValue.js | 2 +- 2020/thisStringValue.js | 2 +- 2021/AbstractEqualityComparison.js | 2 +- 2021/AddToKeptObjects.js | 2 +- 2021/AdvanceStringIndex.js | 2 +- 2021/ApplyStringOrNumericBinaryOperator.js | 4 ++-- 2021/ArraySetLength.js | 2 +- 2021/ArraySpeciesCreate.js | 2 +- 2021/AsyncFromSyncIteratorContinuation.js | 2 +- 2021/ByteListBitwiseOp.js | 2 +- 2021/ByteListEqual.js | 2 +- 2021/Call.js | 2 +- 2021/CanonicalNumericIndexString.js | 2 +- 2021/ClearKeptObjects.js | 2 +- 2021/CodePointAt.js | 2 +- 2021/CodePointsToString.js | 2 +- 2021/CompletePropertyDescriptor.js | 2 +- 2021/CreateAsyncFromSyncIterator.js | 2 +- 2021/CreateDataProperty.js | 2 +- 2021/CreateDataPropertyOrThrow.js | 2 +- 2021/CreateHTML.js | 2 +- 2021/CreateIterResultObject.js | 2 +- 2021/CreateMethodProperty.js | 2 +- 2021/DefinePropertyOrThrow.js | 2 +- 2021/DeletePropertyOrThrow.js | 2 +- 2021/FromPropertyDescriptor.js | 2 +- 2021/Get.js | 2 +- 2021/GetMethod.js | 2 +- 2021/GetOwnPropertyKeys.js | 2 +- 2021/GetPromiseResolve.js | 2 +- 2021/GetPrototypeFromConstructor.js | 2 +- 2021/GetV.js | 2 +- 2021/HasOwnProperty.js | 2 +- 2021/HasProperty.js | 2 +- 2021/InstanceofOperator.js | 2 +- 2021/Invoke.js | 2 +- 2021/IsAccessorDescriptor.js | 2 +- 2021/IsArray.js | 2 +- 2021/IsConcatSpreadable.js | 2 +- 2021/IsConstructor.js | 2 +- 2021/IsDataDescriptor.js | 2 +- 2021/IsExtensible.js | 2 +- 2021/IsGenericDescriptor.js | 2 +- 2021/IsPromise.js | 2 +- 2021/IsPropertyKey.js | 2 +- 2021/IsRegExp.js | 2 +- 2021/IteratorClose.js | 2 +- 2021/IteratorComplete.js | 2 +- 2021/IteratorNext.js | 2 +- 2021/IteratorStep.js | 2 +- 2021/IteratorValue.js | 2 +- 2021/MakeDay.js | 2 +- 2021/MakeTime.js | 2 +- 2021/OrdinaryDefineOwnProperty.js | 2 +- 2021/OrdinaryGetOwnProperty.js | 2 +- 2021/OrdinaryHasInstance.js | 2 +- 2021/OrdinaryHasProperty.js | 2 +- 2021/QuoteJSONString.js | 2 +- 2021/RegExpExec.js | 2 +- 2021/SameValueZero.js | 2 +- 2021/Set.js | 2 +- 2021/SetFunctionLength.js | 2 +- 2021/SetFunctionName.js | 2 +- 2021/SetIntegrityLevel.js | 2 +- 2021/SpeciesConstructor.js | 2 +- 2021/StringGetOwnProperty.js | 2 +- 2021/StringIndexOf.js | 2 +- 2021/StringToCodePoints.js | 2 +- 2021/SymbolDescriptiveString.js | 2 +- 2021/TestIntegrityLevel.js | 2 +- 2021/ToDateString.js | 2 +- 2021/ToInt16.js | 2 +- 2021/ToInt8.js | 2 +- 2021/ToNumber.js | 2 +- 2021/ToObject.js | 2 +- 2021/ToPrimitive.js | 2 +- 2021/ToPropertyKey.js | 2 +- 2021/ToString.js | 2 +- 2021/ToUint8.js | 2 +- 2021/ToUint8Clamp.js | 2 +- 2021/UTF16EncodeCodePoint.js | 2 +- 2021/ValidateAndApplyPropertyDescriptor.js | 4 ++-- 2021/WeakRefDeref.js | 2 +- 2021/thisBooleanValue.js | 2 +- 2021/thisNumberValue.js | 2 +- 2021/thisStringValue.js | 2 +- 2022/AddToKeptObjects.js | 2 +- 2022/AdvanceStringIndex.js | 2 +- 2022/ApplyStringOrNumericBinaryOperator.js | 4 ++-- 2022/ArraySetLength.js | 2 +- 2022/ArraySpeciesCreate.js | 2 +- 2022/AsyncFromSyncIteratorContinuation.js | 2 +- 2022/ByteListBitwiseOp.js | 2 +- 2022/ByteListEqual.js | 2 +- 2022/Call.js | 2 +- 2022/CanonicalNumericIndexString.js | 2 +- 2022/ClearKeptObjects.js | 2 +- 2022/CodePointAt.js | 2 +- 2022/CodePointsToString.js | 2 +- 2022/CompletePropertyDescriptor.js | 2 +- 2022/CreateAsyncFromSyncIterator.js | 2 +- 2022/CreateDataProperty.js | 2 +- 2022/CreateDataPropertyOrThrow.js | 2 +- 2022/CreateHTML.js | 2 +- 2022/CreateIterResultObject.js | 2 +- 2022/CreateMethodProperty.js | 2 +- 2022/DefinePropertyOrThrow.js | 2 +- 2022/DeletePropertyOrThrow.js | 2 +- 2022/FromPropertyDescriptor.js | 2 +- 2022/Get.js | 2 +- 2022/GetMatchIndexPair.js | 2 +- 2022/GetMatchString.js | 2 +- 2022/GetMethod.js | 2 +- 2022/GetOwnPropertyKeys.js | 2 +- 2022/GetPromiseResolve.js | 2 +- 2022/GetPrototypeFromConstructor.js | 2 +- 2022/GetStringIndex.js | 2 +- 2022/GetV.js | 2 +- 2022/HasOwnProperty.js | 2 +- 2022/HasProperty.js | 2 +- 2022/InstanceofOperator.js | 2 +- 2022/Invoke.js | 2 +- 2022/IsAccessorDescriptor.js | 2 +- 2022/IsArray.js | 2 +- 2022/IsConcatSpreadable.js | 2 +- 2022/IsConstructor.js | 2 +- 2022/IsDataDescriptor.js | 2 +- 2022/IsExtensible.js | 2 +- 2022/IsGenericDescriptor.js | 2 +- 2022/IsPromise.js | 2 +- 2022/IsPropertyKey.js | 2 +- 2022/IsRegExp.js | 2 +- 2022/IteratorClose.js | 2 +- 2022/IteratorComplete.js | 2 +- 2022/IteratorNext.js | 2 +- 2022/IteratorStep.js | 2 +- 2022/IteratorValue.js | 2 +- 2022/MakeDay.js | 2 +- 2022/MakeMatchIndicesIndexPairArray.js | 2 +- 2022/MakeTime.js | 2 +- 2022/OrdinaryDefineOwnProperty.js | 2 +- 2022/OrdinaryGetOwnProperty.js | 2 +- 2022/OrdinaryHasInstance.js | 2 +- 2022/OrdinaryHasProperty.js | 2 +- 2022/QuoteJSONString.js | 2 +- 2022/RegExpExec.js | 2 +- 2022/SameValueZero.js | 2 +- 2022/Set.js | 2 +- 2022/SetFunctionLength.js | 2 +- 2022/SetFunctionName.js | 2 +- 2022/SetIntegrityLevel.js | 2 +- 2022/SortIndexedProperties.js | 2 +- 2022/SpeciesConstructor.js | 2 +- 2022/StringGetOwnProperty.js | 2 +- 2022/StringIndexOf.js | 2 +- 2022/StringToCodePoints.js | 2 +- 2022/StringToNumber.js | 2 +- 2022/SymbolDescriptiveString.js | 2 +- 2022/TestIntegrityLevel.js | 2 +- 2022/ToDateString.js | 2 +- 2022/ToInt16.js | 2 +- 2022/ToInt8.js | 2 +- 2022/ToNumber.js | 2 +- 2022/ToObject.js | 2 +- 2022/ToPrimitive.js | 2 +- 2022/ToPropertyKey.js | 2 +- 2022/ToString.js | 2 +- 2022/ToUint8.js | 2 +- 2022/ToUint8Clamp.js | 2 +- 2022/ToZeroPaddedDecimalString.js | 2 +- 2022/UTF16EncodeCodePoint.js | 2 +- 2022/WeakRefDeref.js | 2 +- 2022/thisBooleanValue.js | 2 +- 2022/thisNumberValue.js | 2 +- 2022/thisStringValue.js | 2 +- 621 files changed, 630 insertions(+), 630 deletions(-) diff --git a/2015/AbstractEqualityComparison.js b/2015/AbstractEqualityComparison.js index c776194c..b56a5066 100644 --- a/2015/AbstractEqualityComparison.js +++ b/2015/AbstractEqualityComparison.js @@ -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); diff --git a/2015/AdvanceStringIndex.js b/2015/AdvanceStringIndex.js index 279602b4..41f9333e 100644 --- a/2015/AdvanceStringIndex.js +++ b/2015/AdvanceStringIndex.js @@ -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') { diff --git a/2015/ArrayCreate.js b/2015/ArrayCreate.js index cc890caf..f05ab8ce 100644 --- a/2015/ArrayCreate.js +++ b/2015/ArrayCreate.js @@ -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) { diff --git a/2015/ArraySetLength.js b/2015/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2015/ArraySetLength.js +++ b/2015/ArraySetLength.js @@ -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) { diff --git a/2015/ArraySpeciesCreate.js b/2015/ArraySpeciesCreate.js index 26d63b5e..b3bba747 100644 --- a/2015/ArraySpeciesCreate.js +++ b/2015/ArraySpeciesCreate.js @@ -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) { diff --git a/2015/Call.js b/2015/Call.js index 4b238c69..ccc738fc 100644 --- a/2015/Call.js +++ b/2015/Call.js @@ -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] : []; diff --git a/2015/CanonicalNumericIndexString.js b/2015/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2015/CanonicalNumericIndexString.js +++ b/2015/CanonicalNumericIndexString.js @@ -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') { diff --git a/2015/CompletePropertyDescriptor.js b/2015/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2015/CompletePropertyDescriptor.js +++ b/2015/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2015/CreateDataProperty.js b/2015/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2015/CreateDataProperty.js +++ b/2015/CreateDataProperty.js @@ -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') { diff --git a/2015/CreateDataPropertyOrThrow.js b/2015/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2015/CreateDataPropertyOrThrow.js +++ b/2015/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2015/CreateHTML.js b/2015/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2015/CreateHTML.js +++ b/2015/CreateHTML.js @@ -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') { diff --git a/2015/CreateIterResultObject.js b/2015/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2015/CreateIterResultObject.js +++ b/2015/CreateIterResultObject.js @@ -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') { diff --git a/2015/CreateListFromArrayLike.js b/2015/CreateListFromArrayLike.js index d1bb8b65..b94a48f0 100644 --- a/2015/CreateListFromArrayLike.js +++ b/2015/CreateListFromArrayLike.js @@ -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] diff --git a/2015/CreateMethodProperty.js b/2015/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2015/CreateMethodProperty.js +++ b/2015/CreateMethodProperty.js @@ -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') { diff --git a/2015/DefinePropertyOrThrow.js b/2015/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2015/DefinePropertyOrThrow.js +++ b/2015/DefinePropertyOrThrow.js @@ -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') { diff --git a/2015/DeletePropertyOrThrow.js b/2015/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2015/DeletePropertyOrThrow.js +++ b/2015/DeletePropertyOrThrow.js @@ -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') { diff --git a/2015/EnumerableOwnNames.js b/2015/EnumerableOwnNames.js index e218edad..b8235966 100644 --- a/2015/EnumerableOwnNames.js +++ b/2015/EnumerableOwnNames.js @@ -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') { diff --git a/2015/FromPropertyDescriptor.js b/2015/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2015/FromPropertyDescriptor.js +++ b/2015/FromPropertyDescriptor.js @@ -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') { diff --git a/2015/Get.js b/2015/Get.js index 29796864..09731522 100644 --- a/2015/Get.js +++ b/2015/Get.js @@ -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 diff --git a/2015/GetIterator.js b/2015/GetIterator.js index 892197a2..145557da 100644 --- a/2015/GetIterator.js +++ b/2015/GetIterator.js @@ -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; diff --git a/2015/GetMethod.js b/2015/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2015/GetMethod.js +++ b/2015/GetMethod.js @@ -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 diff --git a/2015/GetOwnPropertyKeys.js b/2015/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2015/GetOwnPropertyKeys.js +++ b/2015/GetOwnPropertyKeys.js @@ -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') { diff --git a/2015/GetPrototypeFromConstructor.js b/2015/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2015/GetPrototypeFromConstructor.js +++ b/2015/GetPrototypeFromConstructor.js @@ -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 diff --git a/2015/GetSubstitution.js b/2015/GetSubstitution.js index a60d4213..34780a1f 100644 --- a/2015/GetSubstitution.js +++ b/2015/GetSubstitution.js @@ -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) { diff --git a/2015/GetV.js b/2015/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2015/GetV.js +++ b/2015/GetV.js @@ -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 diff --git a/2015/HasOwnProperty.js b/2015/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2015/HasOwnProperty.js +++ b/2015/HasOwnProperty.js @@ -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') { diff --git a/2015/HasProperty.js b/2015/HasProperty.js index b341654e..91476d20 100644 --- a/2015/HasProperty.js +++ b/2015/HasProperty.js @@ -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') { diff --git a/2015/InstanceofOperator.js b/2015/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2015/InstanceofOperator.js +++ b/2015/InstanceofOperator.js @@ -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') { diff --git a/2015/Invoke.js b/2015/Invoke.js index d4214ee5..084e5e28 100644 --- a/2015/Invoke.js +++ b/2015/Invoke.js @@ -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)) { diff --git a/2015/IsAccessorDescriptor.js b/2015/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2015/IsAccessorDescriptor.js +++ b/2015/IsAccessorDescriptor.js @@ -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') { diff --git a/2015/IsArray.js b/2015/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2015/IsArray.js +++ b/2015/IsArray.js @@ -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'); diff --git a/2015/IsConcatSpreadable.js b/2015/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2015/IsConcatSpreadable.js +++ b/2015/IsConcatSpreadable.js @@ -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') { diff --git a/2015/IsConstructor.js b/2015/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2015/IsConstructor.js +++ b/2015/IsConstructor.js @@ -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 = {}; diff --git a/2015/IsDataDescriptor.js b/2015/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2015/IsDataDescriptor.js +++ b/2015/IsDataDescriptor.js @@ -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') { diff --git a/2015/IsExtensible.js b/2015/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2015/IsExtensible.js +++ b/2015/IsExtensible.js @@ -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) { diff --git a/2015/IsGenericDescriptor.js b/2015/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2015/IsGenericDescriptor.js +++ b/2015/IsGenericDescriptor.js @@ -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') { diff --git a/2015/IsInteger.js b/2015/IsInteger.js index f4d1a2a7..dd78c42f 100644 --- a/2015/IsInteger.js +++ b/2015/IsInteger.js @@ -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)) { diff --git a/2015/IsPromise.js b/2015/IsPromise.js index a551ae0c..411539b0 100644 --- a/2015/IsPromise.js +++ b/2015/IsPromise.js @@ -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') { diff --git a/2015/IsPropertyKey.js b/2015/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2015/IsPropertyKey.js +++ b/2015/IsPropertyKey.js @@ -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'; diff --git a/2015/IsRegExp.js b/2015/IsRegExp.js index e1054813..33d983dc 100644 --- a/2015/IsRegExp.js +++ b/2015/IsRegExp.js @@ -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') { diff --git a/2015/IteratorClose.js b/2015/IteratorClose.js index f703ea63..7c107608 100644 --- a/2015/IteratorClose.js +++ b/2015/IteratorClose.js @@ -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') { diff --git a/2015/IteratorComplete.js b/2015/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2015/IteratorComplete.js +++ b/2015/IteratorComplete.js @@ -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') { diff --git a/2015/IteratorNext.js b/2015/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2015/IteratorNext.js +++ b/2015/IteratorNext.js @@ -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]); diff --git a/2015/IteratorStep.js b/2015/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2015/IteratorStep.js +++ b/2015/IteratorStep.js @@ -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); diff --git a/2015/IteratorValue.js b/2015/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2015/IteratorValue.js +++ b/2015/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2015/ObjectCreate.js b/2015/ObjectCreate.js index 1f4bb16a..d7d2d04d 100644 --- a/2015/ObjectCreate.js +++ b/2015/ObjectCreate.js @@ -15,7 +15,7 @@ var SLOT = require('internal-slot'); var hasProto = require('has-proto')(); -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate +// https://262.ecma-international.org/6.0/#sec-objectcreate module.exports = function ObjectCreate(proto, internalSlotsList) { if (proto !== null && Type(proto) !== 'Object') { diff --git a/2015/OrdinaryCreateFromConstructor.js b/2015/OrdinaryCreateFromConstructor.js index e2a299ea..ede44ed6 100644 --- a/2015/OrdinaryCreateFromConstructor.js +++ b/2015/OrdinaryCreateFromConstructor.js @@ -7,7 +7,7 @@ var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); var IsArray = require('./IsArray'); var ObjectCreate = require('./ObjectCreate'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor +// https://262.ecma-international.org/6.0/#sec-ordinarycreatefromconstructor module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic diff --git a/2015/OrdinaryDefineOwnProperty.js b/2015/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2015/OrdinaryDefineOwnProperty.js +++ b/2015/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2015/OrdinaryGetOwnProperty.js b/2015/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2015/OrdinaryGetOwnProperty.js +++ b/2015/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2015/OrdinaryHasInstance.js b/2015/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2015/OrdinaryHasInstance.js +++ b/2015/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2015/OrdinaryHasProperty.js b/2015/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2015/OrdinaryHasProperty.js +++ b/2015/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2015/QuoteJSONString.js b/2015/QuoteJSONString.js index 884afef2..7dabf54b 100644 --- a/2015/QuoteJSONString.js +++ b/2015/QuoteJSONString.js @@ -15,7 +15,7 @@ var $strSplit = callBound('String.prototype.split'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-quotejsonstring +// https://262.ecma-international.org/6.0/#sec-quotejsonstring var escapes = { '\u0008': 'b', diff --git a/2015/RegExpExec.js b/2015/RegExpExec.js index 29fee172..cf152074 100644 --- a/2015/RegExpExec.js +++ b/2015/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2015/SameValueZero.js b/2015/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2015/SameValueZero.js +++ b/2015/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2015/Set.js b/2015/Set.js index 09714988..96970313 100644 --- a/2015/Set.js +++ b/2015/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2015/SetFunctionName.js b/2015/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2015/SetFunctionName.js +++ b/2015/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2015/SetIntegrityLevel.js b/2015/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2015/SetIntegrityLevel.js +++ b/2015/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2015/SpeciesConstructor.js b/2015/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2015/SpeciesConstructor.js +++ b/2015/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2015/SymbolDescriptiveString.js b/2015/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2015/SymbolDescriptiveString.js +++ b/2015/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2015/TestIntegrityLevel.js b/2015/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2015/TestIntegrityLevel.js +++ b/2015/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2015/ToDateString.js b/2015/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2015/ToDateString.js +++ b/2015/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2015/ToInt16.js b/2015/ToInt16.js index cb8e7934..21694bde 100644 --- a/2015/ToInt16.js +++ b/2015/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2015/ToInt8.js b/2015/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2015/ToInt8.js +++ b/2015/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2015/ToInteger.js b/2015/ToInteger.js index 29758180..f6625796 100644 --- a/2015/ToInteger.js +++ b/2015/ToInteger.js @@ -4,7 +4,7 @@ var ES5ToInteger = require('../5/ToInteger'); var ToNumber = require('./ToNumber'); -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger +// https://262.ecma-international.org/6.0/#sec-tointeger module.exports = function ToInteger(value) { var number = ToNumber(value); diff --git a/2015/ToNumber.js b/2015/ToNumber.js index 95bdd9ec..1bc0ab53 100644 --- a/2015/ToNumber.js +++ b/2015/ToNumber.js @@ -34,7 +34,7 @@ var $trim = function (value) { var ToPrimitive = require('./ToPrimitive'); -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber +// https://262.ecma-international.org/6.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2015/ToObject.js b/2015/ToObject.js index cb26bac0..26a007ce 100644 --- a/2015/ToObject.js +++ b/2015/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2015/ToPrimitive.js b/2015/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2015/ToPrimitive.js +++ b/2015/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2015/ToPropertyKey.js b/2015/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2015/ToPropertyKey.js +++ b/2015/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2015/ToString.js b/2015/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2015/ToString.js +++ b/2015/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2015/ToUint8.js b/2015/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2015/ToUint8.js +++ b/2015/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2015/ToUint8Clamp.js b/2015/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2015/ToUint8Clamp.js +++ b/2015/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2015/Type.js b/2015/Type.js index 0bd11659..da5cb762 100644 --- a/2015/Type.js +++ b/2015/Type.js @@ -2,7 +2,7 @@ var ES5Type = require('../5/Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values +// https://262.ecma-international.org/6.0/#sec-ecmascript-data-types-and-values module.exports = function Type(x) { if (typeof x === 'symbol') { diff --git a/2015/ValidateAndApplyPropertyDescriptor.js b/2015/ValidateAndApplyPropertyDescriptor.js index a7fd218a..9342046b 100644 --- a/2015/ValidateAndApplyPropertyDescriptor.js +++ b/2015/ValidateAndApplyPropertyDescriptor.js @@ -16,8 +16,8 @@ var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { diff --git a/2015/thisBooleanValue.js b/2015/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2015/thisBooleanValue.js +++ b/2015/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2015/thisNumberValue.js b/2015/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2015/thisNumberValue.js +++ b/2015/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2015/thisStringValue.js b/2015/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2015/thisStringValue.js +++ b/2015/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') { diff --git a/2015/thisTimeValue.js b/2015/thisTimeValue.js index 4687950f..bd50ddd0 100644 --- a/2015/thisTimeValue.js +++ b/2015/thisTimeValue.js @@ -2,7 +2,7 @@ var $DateGetTime = require('call-bind/callBound')('Date.prototype.getTime'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-date-prototype-object module.exports = function thisTimeValue(value) { return $DateGetTime(value); diff --git a/2016/AbstractEqualityComparison.js b/2016/AbstractEqualityComparison.js index c776194c..b56a5066 100644 --- a/2016/AbstractEqualityComparison.js +++ b/2016/AbstractEqualityComparison.js @@ -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); diff --git a/2016/AdvanceStringIndex.js b/2016/AdvanceStringIndex.js index 279602b4..41f9333e 100644 --- a/2016/AdvanceStringIndex.js +++ b/2016/AdvanceStringIndex.js @@ -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') { diff --git a/2016/ArrayCreate.js b/2016/ArrayCreate.js index cc890caf..f05ab8ce 100644 --- a/2016/ArrayCreate.js +++ b/2016/ArrayCreate.js @@ -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) { diff --git a/2016/ArraySetLength.js b/2016/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2016/ArraySetLength.js +++ b/2016/ArraySetLength.js @@ -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) { diff --git a/2016/ArraySpeciesCreate.js b/2016/ArraySpeciesCreate.js index 26d63b5e..b3bba747 100644 --- a/2016/ArraySpeciesCreate.js +++ b/2016/ArraySpeciesCreate.js @@ -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) { diff --git a/2016/Call.js b/2016/Call.js index 4b238c69..ccc738fc 100644 --- a/2016/Call.js +++ b/2016/Call.js @@ -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] : []; diff --git a/2016/CanonicalNumericIndexString.js b/2016/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2016/CanonicalNumericIndexString.js +++ b/2016/CanonicalNumericIndexString.js @@ -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') { diff --git a/2016/CompletePropertyDescriptor.js b/2016/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2016/CompletePropertyDescriptor.js +++ b/2016/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2016/CreateDataProperty.js b/2016/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2016/CreateDataProperty.js +++ b/2016/CreateDataProperty.js @@ -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') { diff --git a/2016/CreateDataPropertyOrThrow.js b/2016/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2016/CreateDataPropertyOrThrow.js +++ b/2016/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2016/CreateHTML.js b/2016/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2016/CreateHTML.js +++ b/2016/CreateHTML.js @@ -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') { diff --git a/2016/CreateIterResultObject.js b/2016/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2016/CreateIterResultObject.js +++ b/2016/CreateIterResultObject.js @@ -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') { diff --git a/2016/CreateListFromArrayLike.js b/2016/CreateListFromArrayLike.js index d1bb8b65..b94a48f0 100644 --- a/2016/CreateListFromArrayLike.js +++ b/2016/CreateListFromArrayLike.js @@ -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] diff --git a/2016/CreateMethodProperty.js b/2016/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2016/CreateMethodProperty.js +++ b/2016/CreateMethodProperty.js @@ -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') { diff --git a/2016/DefinePropertyOrThrow.js b/2016/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2016/DefinePropertyOrThrow.js +++ b/2016/DefinePropertyOrThrow.js @@ -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') { diff --git a/2016/DeletePropertyOrThrow.js b/2016/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2016/DeletePropertyOrThrow.js +++ b/2016/DeletePropertyOrThrow.js @@ -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') { diff --git a/2016/EnumerableOwnNames.js b/2016/EnumerableOwnNames.js index e218edad..b8235966 100644 --- a/2016/EnumerableOwnNames.js +++ b/2016/EnumerableOwnNames.js @@ -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') { diff --git a/2016/FromPropertyDescriptor.js b/2016/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2016/FromPropertyDescriptor.js +++ b/2016/FromPropertyDescriptor.js @@ -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') { diff --git a/2016/Get.js b/2016/Get.js index 29796864..09731522 100644 --- a/2016/Get.js +++ b/2016/Get.js @@ -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 diff --git a/2016/GetIterator.js b/2016/GetIterator.js index 892197a2..145557da 100644 --- a/2016/GetIterator.js +++ b/2016/GetIterator.js @@ -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; diff --git a/2016/GetMethod.js b/2016/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2016/GetMethod.js +++ b/2016/GetMethod.js @@ -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 diff --git a/2016/GetOwnPropertyKeys.js b/2016/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2016/GetOwnPropertyKeys.js +++ b/2016/GetOwnPropertyKeys.js @@ -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') { diff --git a/2016/GetPrototypeFromConstructor.js b/2016/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2016/GetPrototypeFromConstructor.js +++ b/2016/GetPrototypeFromConstructor.js @@ -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 diff --git a/2016/GetSubstitution.js b/2016/GetSubstitution.js index a60d4213..34780a1f 100644 --- a/2016/GetSubstitution.js +++ b/2016/GetSubstitution.js @@ -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) { diff --git a/2016/GetV.js b/2016/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2016/GetV.js +++ b/2016/GetV.js @@ -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 diff --git a/2016/HasOwnProperty.js b/2016/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2016/HasOwnProperty.js +++ b/2016/HasOwnProperty.js @@ -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') { diff --git a/2016/HasProperty.js b/2016/HasProperty.js index b341654e..91476d20 100644 --- a/2016/HasProperty.js +++ b/2016/HasProperty.js @@ -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') { diff --git a/2016/InstanceofOperator.js b/2016/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2016/InstanceofOperator.js +++ b/2016/InstanceofOperator.js @@ -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') { diff --git a/2016/Invoke.js b/2016/Invoke.js index d4214ee5..084e5e28 100644 --- a/2016/Invoke.js +++ b/2016/Invoke.js @@ -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)) { diff --git a/2016/IsAccessorDescriptor.js b/2016/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2016/IsAccessorDescriptor.js +++ b/2016/IsAccessorDescriptor.js @@ -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') { diff --git a/2016/IsArray.js b/2016/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2016/IsArray.js +++ b/2016/IsArray.js @@ -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'); diff --git a/2016/IsConcatSpreadable.js b/2016/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2016/IsConcatSpreadable.js +++ b/2016/IsConcatSpreadable.js @@ -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') { diff --git a/2016/IsConstructor.js b/2016/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2016/IsConstructor.js +++ b/2016/IsConstructor.js @@ -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 = {}; diff --git a/2016/IsDataDescriptor.js b/2016/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2016/IsDataDescriptor.js +++ b/2016/IsDataDescriptor.js @@ -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') { diff --git a/2016/IsExtensible.js b/2016/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2016/IsExtensible.js +++ b/2016/IsExtensible.js @@ -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) { diff --git a/2016/IsGenericDescriptor.js b/2016/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2016/IsGenericDescriptor.js +++ b/2016/IsGenericDescriptor.js @@ -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') { diff --git a/2016/IsInteger.js b/2016/IsInteger.js index f4d1a2a7..dd78c42f 100644 --- a/2016/IsInteger.js +++ b/2016/IsInteger.js @@ -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)) { diff --git a/2016/IsPromise.js b/2016/IsPromise.js index a551ae0c..411539b0 100644 --- a/2016/IsPromise.js +++ b/2016/IsPromise.js @@ -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') { diff --git a/2016/IsPropertyKey.js b/2016/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2016/IsPropertyKey.js +++ b/2016/IsPropertyKey.js @@ -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'; diff --git a/2016/IsRegExp.js b/2016/IsRegExp.js index e1054813..33d983dc 100644 --- a/2016/IsRegExp.js +++ b/2016/IsRegExp.js @@ -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') { diff --git a/2016/IteratorClose.js b/2016/IteratorClose.js index f703ea63..7c107608 100644 --- a/2016/IteratorClose.js +++ b/2016/IteratorClose.js @@ -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') { diff --git a/2016/IteratorComplete.js b/2016/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2016/IteratorComplete.js +++ b/2016/IteratorComplete.js @@ -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') { diff --git a/2016/IteratorNext.js b/2016/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2016/IteratorNext.js +++ b/2016/IteratorNext.js @@ -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]); diff --git a/2016/IteratorStep.js b/2016/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2016/IteratorStep.js +++ b/2016/IteratorStep.js @@ -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); diff --git a/2016/IteratorValue.js b/2016/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2016/IteratorValue.js +++ b/2016/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2016/ObjectCreate.js b/2016/ObjectCreate.js index 1f4bb16a..d7d2d04d 100644 --- a/2016/ObjectCreate.js +++ b/2016/ObjectCreate.js @@ -15,7 +15,7 @@ var SLOT = require('internal-slot'); var hasProto = require('has-proto')(); -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate +// https://262.ecma-international.org/6.0/#sec-objectcreate module.exports = function ObjectCreate(proto, internalSlotsList) { if (proto !== null && Type(proto) !== 'Object') { diff --git a/2016/OrdinaryCreateFromConstructor.js b/2016/OrdinaryCreateFromConstructor.js index e2a299ea..ede44ed6 100644 --- a/2016/OrdinaryCreateFromConstructor.js +++ b/2016/OrdinaryCreateFromConstructor.js @@ -7,7 +7,7 @@ var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); var IsArray = require('./IsArray'); var ObjectCreate = require('./ObjectCreate'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor +// https://262.ecma-international.org/6.0/#sec-ordinarycreatefromconstructor module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic diff --git a/2016/OrdinaryDefineOwnProperty.js b/2016/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2016/OrdinaryDefineOwnProperty.js +++ b/2016/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2016/OrdinaryGetOwnProperty.js b/2016/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2016/OrdinaryGetOwnProperty.js +++ b/2016/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2016/OrdinaryHasInstance.js b/2016/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2016/OrdinaryHasInstance.js +++ b/2016/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2016/OrdinaryHasProperty.js b/2016/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2016/OrdinaryHasProperty.js +++ b/2016/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2016/QuoteJSONString.js b/2016/QuoteJSONString.js index 884afef2..7dabf54b 100644 --- a/2016/QuoteJSONString.js +++ b/2016/QuoteJSONString.js @@ -15,7 +15,7 @@ var $strSplit = callBound('String.prototype.split'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-quotejsonstring +// https://262.ecma-international.org/6.0/#sec-quotejsonstring var escapes = { '\u0008': 'b', diff --git a/2016/RegExpExec.js b/2016/RegExpExec.js index 29fee172..cf152074 100644 --- a/2016/RegExpExec.js +++ b/2016/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2016/SameValueZero.js b/2016/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2016/SameValueZero.js +++ b/2016/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2016/Set.js b/2016/Set.js index 09714988..96970313 100644 --- a/2016/Set.js +++ b/2016/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2016/SetFunctionName.js b/2016/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2016/SetFunctionName.js +++ b/2016/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2016/SetIntegrityLevel.js b/2016/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2016/SetIntegrityLevel.js +++ b/2016/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2016/SpeciesConstructor.js b/2016/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2016/SpeciesConstructor.js +++ b/2016/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2016/SymbolDescriptiveString.js b/2016/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2016/SymbolDescriptiveString.js +++ b/2016/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2016/TestIntegrityLevel.js b/2016/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2016/TestIntegrityLevel.js +++ b/2016/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2016/ToDateString.js b/2016/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2016/ToDateString.js +++ b/2016/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2016/ToInt16.js b/2016/ToInt16.js index cb8e7934..21694bde 100644 --- a/2016/ToInt16.js +++ b/2016/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2016/ToInt8.js b/2016/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2016/ToInt8.js +++ b/2016/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2016/ToInteger.js b/2016/ToInteger.js index 29758180..f6625796 100644 --- a/2016/ToInteger.js +++ b/2016/ToInteger.js @@ -4,7 +4,7 @@ var ES5ToInteger = require('../5/ToInteger'); var ToNumber = require('./ToNumber'); -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger +// https://262.ecma-international.org/6.0/#sec-tointeger module.exports = function ToInteger(value) { var number = ToNumber(value); diff --git a/2016/ToNumber.js b/2016/ToNumber.js index 95bdd9ec..1bc0ab53 100644 --- a/2016/ToNumber.js +++ b/2016/ToNumber.js @@ -34,7 +34,7 @@ var $trim = function (value) { var ToPrimitive = require('./ToPrimitive'); -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber +// https://262.ecma-international.org/6.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2016/ToObject.js b/2016/ToObject.js index cb26bac0..26a007ce 100644 --- a/2016/ToObject.js +++ b/2016/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2016/ToPrimitive.js b/2016/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2016/ToPrimitive.js +++ b/2016/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2016/ToPropertyKey.js b/2016/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2016/ToPropertyKey.js +++ b/2016/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2016/ToString.js b/2016/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2016/ToString.js +++ b/2016/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2016/ToUint8.js b/2016/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2016/ToUint8.js +++ b/2016/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2016/ToUint8Clamp.js b/2016/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2016/ToUint8Clamp.js +++ b/2016/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2016/Type.js b/2016/Type.js index 0bd11659..da5cb762 100644 --- a/2016/Type.js +++ b/2016/Type.js @@ -2,7 +2,7 @@ var ES5Type = require('../5/Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values +// https://262.ecma-international.org/6.0/#sec-ecmascript-data-types-and-values module.exports = function Type(x) { if (typeof x === 'symbol') { diff --git a/2016/ValidateAndApplyPropertyDescriptor.js b/2016/ValidateAndApplyPropertyDescriptor.js index a7fd218a..9342046b 100644 --- a/2016/ValidateAndApplyPropertyDescriptor.js +++ b/2016/ValidateAndApplyPropertyDescriptor.js @@ -16,8 +16,8 @@ var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { diff --git a/2016/thisBooleanValue.js b/2016/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2016/thisBooleanValue.js +++ b/2016/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2016/thisNumberValue.js b/2016/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2016/thisNumberValue.js +++ b/2016/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2016/thisStringValue.js b/2016/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2016/thisStringValue.js +++ b/2016/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') { diff --git a/2016/thisTimeValue.js b/2016/thisTimeValue.js index 4687950f..bd50ddd0 100644 --- a/2016/thisTimeValue.js +++ b/2016/thisTimeValue.js @@ -2,7 +2,7 @@ var $DateGetTime = require('call-bind/callBound')('Date.prototype.getTime'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-date-prototype-object module.exports = function thisTimeValue(value) { return $DateGetTime(value); diff --git a/2017/AbstractEqualityComparison.js b/2017/AbstractEqualityComparison.js index c776194c..b56a5066 100644 --- a/2017/AbstractEqualityComparison.js +++ b/2017/AbstractEqualityComparison.js @@ -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); diff --git a/2017/AdvanceStringIndex.js b/2017/AdvanceStringIndex.js index 279602b4..41f9333e 100644 --- a/2017/AdvanceStringIndex.js +++ b/2017/AdvanceStringIndex.js @@ -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') { diff --git a/2017/ArrayCreate.js b/2017/ArrayCreate.js index cc890caf..f05ab8ce 100644 --- a/2017/ArrayCreate.js +++ b/2017/ArrayCreate.js @@ -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) { diff --git a/2017/ArraySetLength.js b/2017/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2017/ArraySetLength.js +++ b/2017/ArraySetLength.js @@ -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) { diff --git a/2017/ArraySpeciesCreate.js b/2017/ArraySpeciesCreate.js index 26d63b5e..b3bba747 100644 --- a/2017/ArraySpeciesCreate.js +++ b/2017/ArraySpeciesCreate.js @@ -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) { diff --git a/2017/Call.js b/2017/Call.js index 4b238c69..ccc738fc 100644 --- a/2017/Call.js +++ b/2017/Call.js @@ -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] : []; diff --git a/2017/CanonicalNumericIndexString.js b/2017/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2017/CanonicalNumericIndexString.js +++ b/2017/CanonicalNumericIndexString.js @@ -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') { diff --git a/2017/CompletePropertyDescriptor.js b/2017/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2017/CompletePropertyDescriptor.js +++ b/2017/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2017/CreateDataProperty.js b/2017/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2017/CreateDataProperty.js +++ b/2017/CreateDataProperty.js @@ -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') { diff --git a/2017/CreateDataPropertyOrThrow.js b/2017/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2017/CreateDataPropertyOrThrow.js +++ b/2017/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2017/CreateHTML.js b/2017/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2017/CreateHTML.js +++ b/2017/CreateHTML.js @@ -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') { diff --git a/2017/CreateIterResultObject.js b/2017/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2017/CreateIterResultObject.js +++ b/2017/CreateIterResultObject.js @@ -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') { diff --git a/2017/CreateListFromArrayLike.js b/2017/CreateListFromArrayLike.js index d1bb8b65..b94a48f0 100644 --- a/2017/CreateListFromArrayLike.js +++ b/2017/CreateListFromArrayLike.js @@ -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] diff --git a/2017/CreateMethodProperty.js b/2017/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2017/CreateMethodProperty.js +++ b/2017/CreateMethodProperty.js @@ -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') { diff --git a/2017/DefinePropertyOrThrow.js b/2017/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2017/DefinePropertyOrThrow.js +++ b/2017/DefinePropertyOrThrow.js @@ -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') { diff --git a/2017/DeletePropertyOrThrow.js b/2017/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2017/DeletePropertyOrThrow.js +++ b/2017/DeletePropertyOrThrow.js @@ -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') { diff --git a/2017/FromPropertyDescriptor.js b/2017/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2017/FromPropertyDescriptor.js +++ b/2017/FromPropertyDescriptor.js @@ -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') { diff --git a/2017/Get.js b/2017/Get.js index 29796864..09731522 100644 --- a/2017/Get.js +++ b/2017/Get.js @@ -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 diff --git a/2017/GetIterator.js b/2017/GetIterator.js index 892197a2..145557da 100644 --- a/2017/GetIterator.js +++ b/2017/GetIterator.js @@ -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; diff --git a/2017/GetMethod.js b/2017/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2017/GetMethod.js +++ b/2017/GetMethod.js @@ -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 diff --git a/2017/GetOwnPropertyKeys.js b/2017/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2017/GetOwnPropertyKeys.js +++ b/2017/GetOwnPropertyKeys.js @@ -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') { diff --git a/2017/GetPrototypeFromConstructor.js b/2017/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2017/GetPrototypeFromConstructor.js +++ b/2017/GetPrototypeFromConstructor.js @@ -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 diff --git a/2017/GetSubstitution.js b/2017/GetSubstitution.js index a60d4213..34780a1f 100644 --- a/2017/GetSubstitution.js +++ b/2017/GetSubstitution.js @@ -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) { diff --git a/2017/GetV.js b/2017/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2017/GetV.js +++ b/2017/GetV.js @@ -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 diff --git a/2017/HasOwnProperty.js b/2017/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2017/HasOwnProperty.js +++ b/2017/HasOwnProperty.js @@ -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') { diff --git a/2017/HasProperty.js b/2017/HasProperty.js index b341654e..91476d20 100644 --- a/2017/HasProperty.js +++ b/2017/HasProperty.js @@ -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') { diff --git a/2017/InstanceofOperator.js b/2017/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2017/InstanceofOperator.js +++ b/2017/InstanceofOperator.js @@ -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') { diff --git a/2017/Invoke.js b/2017/Invoke.js index d4214ee5..084e5e28 100644 --- a/2017/Invoke.js +++ b/2017/Invoke.js @@ -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)) { diff --git a/2017/IsAccessorDescriptor.js b/2017/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2017/IsAccessorDescriptor.js +++ b/2017/IsAccessorDescriptor.js @@ -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') { diff --git a/2017/IsArray.js b/2017/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2017/IsArray.js +++ b/2017/IsArray.js @@ -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'); diff --git a/2017/IsConcatSpreadable.js b/2017/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2017/IsConcatSpreadable.js +++ b/2017/IsConcatSpreadable.js @@ -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') { diff --git a/2017/IsConstructor.js b/2017/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2017/IsConstructor.js +++ b/2017/IsConstructor.js @@ -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 = {}; diff --git a/2017/IsDataDescriptor.js b/2017/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2017/IsDataDescriptor.js +++ b/2017/IsDataDescriptor.js @@ -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') { diff --git a/2017/IsExtensible.js b/2017/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2017/IsExtensible.js +++ b/2017/IsExtensible.js @@ -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) { diff --git a/2017/IsGenericDescriptor.js b/2017/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2017/IsGenericDescriptor.js +++ b/2017/IsGenericDescriptor.js @@ -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') { diff --git a/2017/IsInteger.js b/2017/IsInteger.js index f4d1a2a7..dd78c42f 100644 --- a/2017/IsInteger.js +++ b/2017/IsInteger.js @@ -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)) { diff --git a/2017/IsPromise.js b/2017/IsPromise.js index a551ae0c..411539b0 100644 --- a/2017/IsPromise.js +++ b/2017/IsPromise.js @@ -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') { diff --git a/2017/IsPropertyKey.js b/2017/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2017/IsPropertyKey.js +++ b/2017/IsPropertyKey.js @@ -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'; diff --git a/2017/IsRegExp.js b/2017/IsRegExp.js index e1054813..33d983dc 100644 --- a/2017/IsRegExp.js +++ b/2017/IsRegExp.js @@ -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') { diff --git a/2017/IteratorClose.js b/2017/IteratorClose.js index f703ea63..7c107608 100644 --- a/2017/IteratorClose.js +++ b/2017/IteratorClose.js @@ -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') { diff --git a/2017/IteratorComplete.js b/2017/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2017/IteratorComplete.js +++ b/2017/IteratorComplete.js @@ -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') { diff --git a/2017/IteratorNext.js b/2017/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2017/IteratorNext.js +++ b/2017/IteratorNext.js @@ -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]); diff --git a/2017/IteratorStep.js b/2017/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2017/IteratorStep.js +++ b/2017/IteratorStep.js @@ -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); diff --git a/2017/IteratorValue.js b/2017/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2017/IteratorValue.js +++ b/2017/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2017/ObjectCreate.js b/2017/ObjectCreate.js index 1f4bb16a..d7d2d04d 100644 --- a/2017/ObjectCreate.js +++ b/2017/ObjectCreate.js @@ -15,7 +15,7 @@ var SLOT = require('internal-slot'); var hasProto = require('has-proto')(); -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate +// https://262.ecma-international.org/6.0/#sec-objectcreate module.exports = function ObjectCreate(proto, internalSlotsList) { if (proto !== null && Type(proto) !== 'Object') { diff --git a/2017/OrdinaryCreateFromConstructor.js b/2017/OrdinaryCreateFromConstructor.js index e2a299ea..ede44ed6 100644 --- a/2017/OrdinaryCreateFromConstructor.js +++ b/2017/OrdinaryCreateFromConstructor.js @@ -7,7 +7,7 @@ var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); var IsArray = require('./IsArray'); var ObjectCreate = require('./ObjectCreate'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor +// https://262.ecma-international.org/6.0/#sec-ordinarycreatefromconstructor module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic diff --git a/2017/OrdinaryDefineOwnProperty.js b/2017/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2017/OrdinaryDefineOwnProperty.js +++ b/2017/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2017/OrdinaryGetOwnProperty.js b/2017/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2017/OrdinaryGetOwnProperty.js +++ b/2017/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2017/OrdinaryHasInstance.js b/2017/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2017/OrdinaryHasInstance.js +++ b/2017/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2017/OrdinaryHasProperty.js b/2017/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2017/OrdinaryHasProperty.js +++ b/2017/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2017/QuoteJSONString.js b/2017/QuoteJSONString.js index 884afef2..7dabf54b 100644 --- a/2017/QuoteJSONString.js +++ b/2017/QuoteJSONString.js @@ -15,7 +15,7 @@ var $strSplit = callBound('String.prototype.split'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-quotejsonstring +// https://262.ecma-international.org/6.0/#sec-quotejsonstring var escapes = { '\u0008': 'b', diff --git a/2017/RegExpExec.js b/2017/RegExpExec.js index 29fee172..cf152074 100644 --- a/2017/RegExpExec.js +++ b/2017/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2017/SameValueZero.js b/2017/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2017/SameValueZero.js +++ b/2017/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2017/Set.js b/2017/Set.js index 09714988..96970313 100644 --- a/2017/Set.js +++ b/2017/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2017/SetFunctionName.js b/2017/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2017/SetFunctionName.js +++ b/2017/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2017/SetIntegrityLevel.js b/2017/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2017/SetIntegrityLevel.js +++ b/2017/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2017/SpeciesConstructor.js b/2017/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2017/SpeciesConstructor.js +++ b/2017/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2017/SymbolDescriptiveString.js b/2017/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2017/SymbolDescriptiveString.js +++ b/2017/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2017/TestIntegrityLevel.js b/2017/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2017/TestIntegrityLevel.js +++ b/2017/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2017/ToDateString.js b/2017/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2017/ToDateString.js +++ b/2017/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2017/ToInt16.js b/2017/ToInt16.js index cb8e7934..21694bde 100644 --- a/2017/ToInt16.js +++ b/2017/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2017/ToInt8.js b/2017/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2017/ToInt8.js +++ b/2017/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2017/ToInteger.js b/2017/ToInteger.js index 29758180..f6625796 100644 --- a/2017/ToInteger.js +++ b/2017/ToInteger.js @@ -4,7 +4,7 @@ var ES5ToInteger = require('../5/ToInteger'); var ToNumber = require('./ToNumber'); -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger +// https://262.ecma-international.org/6.0/#sec-tointeger module.exports = function ToInteger(value) { var number = ToNumber(value); diff --git a/2017/ToNumber.js b/2017/ToNumber.js index 95bdd9ec..1bc0ab53 100644 --- a/2017/ToNumber.js +++ b/2017/ToNumber.js @@ -34,7 +34,7 @@ var $trim = function (value) { var ToPrimitive = require('./ToPrimitive'); -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber +// https://262.ecma-international.org/6.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2017/ToObject.js b/2017/ToObject.js index cb26bac0..26a007ce 100644 --- a/2017/ToObject.js +++ b/2017/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2017/ToPrimitive.js b/2017/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2017/ToPrimitive.js +++ b/2017/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2017/ToPropertyKey.js b/2017/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2017/ToPropertyKey.js +++ b/2017/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2017/ToString.js b/2017/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2017/ToString.js +++ b/2017/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2017/ToUint8.js b/2017/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2017/ToUint8.js +++ b/2017/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2017/ToUint8Clamp.js b/2017/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2017/ToUint8Clamp.js +++ b/2017/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2017/Type.js b/2017/Type.js index 0bd11659..da5cb762 100644 --- a/2017/Type.js +++ b/2017/Type.js @@ -2,7 +2,7 @@ var ES5Type = require('../5/Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values +// https://262.ecma-international.org/6.0/#sec-ecmascript-data-types-and-values module.exports = function Type(x) { if (typeof x === 'symbol') { diff --git a/2017/ValidateAndApplyPropertyDescriptor.js b/2017/ValidateAndApplyPropertyDescriptor.js index a7fd218a..9342046b 100644 --- a/2017/ValidateAndApplyPropertyDescriptor.js +++ b/2017/ValidateAndApplyPropertyDescriptor.js @@ -16,8 +16,8 @@ var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { diff --git a/2017/thisBooleanValue.js b/2017/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2017/thisBooleanValue.js +++ b/2017/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2017/thisNumberValue.js b/2017/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2017/thisNumberValue.js +++ b/2017/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2017/thisStringValue.js b/2017/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2017/thisStringValue.js +++ b/2017/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') { diff --git a/2017/thisTimeValue.js b/2017/thisTimeValue.js index 4687950f..bd50ddd0 100644 --- a/2017/thisTimeValue.js +++ b/2017/thisTimeValue.js @@ -2,7 +2,7 @@ var $DateGetTime = require('call-bind/callBound')('Date.prototype.getTime'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-date-prototype-object module.exports = function thisTimeValue(value) { return $DateGetTime(value); diff --git a/2018/AbstractEqualityComparison.js b/2018/AbstractEqualityComparison.js index c776194c..b56a5066 100644 --- a/2018/AbstractEqualityComparison.js +++ b/2018/AbstractEqualityComparison.js @@ -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); diff --git a/2018/AdvanceStringIndex.js b/2018/AdvanceStringIndex.js index 279602b4..41f9333e 100644 --- a/2018/AdvanceStringIndex.js +++ b/2018/AdvanceStringIndex.js @@ -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') { diff --git a/2018/ArrayCreate.js b/2018/ArrayCreate.js index cc890caf..f05ab8ce 100644 --- a/2018/ArrayCreate.js +++ b/2018/ArrayCreate.js @@ -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) { diff --git a/2018/ArraySetLength.js b/2018/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2018/ArraySetLength.js +++ b/2018/ArraySetLength.js @@ -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) { diff --git a/2018/ArraySpeciesCreate.js b/2018/ArraySpeciesCreate.js index 26d63b5e..b3bba747 100644 --- a/2018/ArraySpeciesCreate.js +++ b/2018/ArraySpeciesCreate.js @@ -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) { diff --git a/2018/Call.js b/2018/Call.js index 4b238c69..ccc738fc 100644 --- a/2018/Call.js +++ b/2018/Call.js @@ -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] : []; diff --git a/2018/CanonicalNumericIndexString.js b/2018/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2018/CanonicalNumericIndexString.js +++ b/2018/CanonicalNumericIndexString.js @@ -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') { diff --git a/2018/CompletePropertyDescriptor.js b/2018/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2018/CompletePropertyDescriptor.js +++ b/2018/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2018/CreateAsyncFromSyncIterator.js b/2018/CreateAsyncFromSyncIterator.js index 90250d10..8f41b8d4 100644 --- a/2018/CreateAsyncFromSyncIterator.js +++ b/2018/CreateAsyncFromSyncIterator.js @@ -135,7 +135,7 @@ var $AsyncFromSyncIteratorPrototype = GetIntrinsic('%AsyncFromSyncIteratorProtot } }; -// https://ecma-international.org/ecma-262/9.0/#sec-createasyncfromsynciterator +// https://262.ecma-international.org/9.0/#sec-createasyncfromsynciterator module.exports = function CreateAsyncFromSyncIterator(syncIteratorRecord) { assertRecord(Type, 'Iterator Record', 'syncIteratorRecord', syncIteratorRecord); diff --git a/2018/CreateDataProperty.js b/2018/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2018/CreateDataProperty.js +++ b/2018/CreateDataProperty.js @@ -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') { diff --git a/2018/CreateDataPropertyOrThrow.js b/2018/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2018/CreateDataPropertyOrThrow.js +++ b/2018/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2018/CreateHTML.js b/2018/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2018/CreateHTML.js +++ b/2018/CreateHTML.js @@ -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') { diff --git a/2018/CreateIterResultObject.js b/2018/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2018/CreateIterResultObject.js +++ b/2018/CreateIterResultObject.js @@ -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') { diff --git a/2018/CreateListFromArrayLike.js b/2018/CreateListFromArrayLike.js index d1bb8b65..b94a48f0 100644 --- a/2018/CreateListFromArrayLike.js +++ b/2018/CreateListFromArrayLike.js @@ -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] diff --git a/2018/CreateMethodProperty.js b/2018/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2018/CreateMethodProperty.js +++ b/2018/CreateMethodProperty.js @@ -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') { diff --git a/2018/DefinePropertyOrThrow.js b/2018/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2018/DefinePropertyOrThrow.js +++ b/2018/DefinePropertyOrThrow.js @@ -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') { diff --git a/2018/DeletePropertyOrThrow.js b/2018/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2018/DeletePropertyOrThrow.js +++ b/2018/DeletePropertyOrThrow.js @@ -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') { diff --git a/2018/FromPropertyDescriptor.js b/2018/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2018/FromPropertyDescriptor.js +++ b/2018/FromPropertyDescriptor.js @@ -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') { diff --git a/2018/Get.js b/2018/Get.js index 29796864..09731522 100644 --- a/2018/Get.js +++ b/2018/Get.js @@ -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 diff --git a/2018/GetIterator.js b/2018/GetIterator.js index 892197a2..145557da 100644 --- a/2018/GetIterator.js +++ b/2018/GetIterator.js @@ -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; diff --git a/2018/GetMethod.js b/2018/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2018/GetMethod.js +++ b/2018/GetMethod.js @@ -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 diff --git a/2018/GetOwnPropertyKeys.js b/2018/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2018/GetOwnPropertyKeys.js +++ b/2018/GetOwnPropertyKeys.js @@ -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') { diff --git a/2018/GetPrototypeFromConstructor.js b/2018/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2018/GetPrototypeFromConstructor.js +++ b/2018/GetPrototypeFromConstructor.js @@ -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 diff --git a/2018/GetV.js b/2018/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2018/GetV.js +++ b/2018/GetV.js @@ -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 diff --git a/2018/HasOwnProperty.js b/2018/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2018/HasOwnProperty.js +++ b/2018/HasOwnProperty.js @@ -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') { diff --git a/2018/HasProperty.js b/2018/HasProperty.js index b341654e..91476d20 100644 --- a/2018/HasProperty.js +++ b/2018/HasProperty.js @@ -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') { diff --git a/2018/InstanceofOperator.js b/2018/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2018/InstanceofOperator.js +++ b/2018/InstanceofOperator.js @@ -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') { diff --git a/2018/Invoke.js b/2018/Invoke.js index d4214ee5..084e5e28 100644 --- a/2018/Invoke.js +++ b/2018/Invoke.js @@ -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)) { diff --git a/2018/IsAccessorDescriptor.js b/2018/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2018/IsAccessorDescriptor.js +++ b/2018/IsAccessorDescriptor.js @@ -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') { diff --git a/2018/IsArray.js b/2018/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2018/IsArray.js +++ b/2018/IsArray.js @@ -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'); diff --git a/2018/IsConcatSpreadable.js b/2018/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2018/IsConcatSpreadable.js +++ b/2018/IsConcatSpreadable.js @@ -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') { diff --git a/2018/IsConstructor.js b/2018/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2018/IsConstructor.js +++ b/2018/IsConstructor.js @@ -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 = {}; diff --git a/2018/IsDataDescriptor.js b/2018/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2018/IsDataDescriptor.js +++ b/2018/IsDataDescriptor.js @@ -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') { diff --git a/2018/IsExtensible.js b/2018/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2018/IsExtensible.js +++ b/2018/IsExtensible.js @@ -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) { diff --git a/2018/IsGenericDescriptor.js b/2018/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2018/IsGenericDescriptor.js +++ b/2018/IsGenericDescriptor.js @@ -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') { diff --git a/2018/IsInteger.js b/2018/IsInteger.js index f4d1a2a7..dd78c42f 100644 --- a/2018/IsInteger.js +++ b/2018/IsInteger.js @@ -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)) { diff --git a/2018/IsPromise.js b/2018/IsPromise.js index a551ae0c..411539b0 100644 --- a/2018/IsPromise.js +++ b/2018/IsPromise.js @@ -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') { diff --git a/2018/IsPropertyKey.js b/2018/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2018/IsPropertyKey.js +++ b/2018/IsPropertyKey.js @@ -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'; diff --git a/2018/IsRegExp.js b/2018/IsRegExp.js index e1054813..33d983dc 100644 --- a/2018/IsRegExp.js +++ b/2018/IsRegExp.js @@ -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') { diff --git a/2018/IteratorClose.js b/2018/IteratorClose.js index f703ea63..7c107608 100644 --- a/2018/IteratorClose.js +++ b/2018/IteratorClose.js @@ -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') { diff --git a/2018/IteratorComplete.js b/2018/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2018/IteratorComplete.js +++ b/2018/IteratorComplete.js @@ -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') { diff --git a/2018/IteratorNext.js b/2018/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2018/IteratorNext.js +++ b/2018/IteratorNext.js @@ -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]); diff --git a/2018/IteratorStep.js b/2018/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2018/IteratorStep.js +++ b/2018/IteratorStep.js @@ -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); diff --git a/2018/IteratorValue.js b/2018/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2018/IteratorValue.js +++ b/2018/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2018/ObjectCreate.js b/2018/ObjectCreate.js index 1f4bb16a..d7d2d04d 100644 --- a/2018/ObjectCreate.js +++ b/2018/ObjectCreate.js @@ -15,7 +15,7 @@ var SLOT = require('internal-slot'); var hasProto = require('has-proto')(); -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate +// https://262.ecma-international.org/6.0/#sec-objectcreate module.exports = function ObjectCreate(proto, internalSlotsList) { if (proto !== null && Type(proto) !== 'Object') { diff --git a/2018/OrdinaryCreateFromConstructor.js b/2018/OrdinaryCreateFromConstructor.js index e2a299ea..ede44ed6 100644 --- a/2018/OrdinaryCreateFromConstructor.js +++ b/2018/OrdinaryCreateFromConstructor.js @@ -7,7 +7,7 @@ var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); var IsArray = require('./IsArray'); var ObjectCreate = require('./ObjectCreate'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor +// https://262.ecma-international.org/6.0/#sec-ordinarycreatefromconstructor module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic diff --git a/2018/OrdinaryDefineOwnProperty.js b/2018/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2018/OrdinaryDefineOwnProperty.js +++ b/2018/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2018/OrdinaryGetOwnProperty.js b/2018/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2018/OrdinaryGetOwnProperty.js +++ b/2018/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2018/OrdinaryHasInstance.js b/2018/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2018/OrdinaryHasInstance.js +++ b/2018/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2018/OrdinaryHasProperty.js b/2018/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2018/OrdinaryHasProperty.js +++ b/2018/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2018/RegExpExec.js b/2018/RegExpExec.js index 29fee172..cf152074 100644 --- a/2018/RegExpExec.js +++ b/2018/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2018/SameValueZero.js b/2018/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2018/SameValueZero.js +++ b/2018/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2018/Set.js b/2018/Set.js index 09714988..96970313 100644 --- a/2018/Set.js +++ b/2018/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2018/SetFunctionName.js b/2018/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2018/SetFunctionName.js +++ b/2018/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2018/SetIntegrityLevel.js b/2018/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2018/SetIntegrityLevel.js +++ b/2018/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2018/SpeciesConstructor.js b/2018/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2018/SpeciesConstructor.js +++ b/2018/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2018/SymbolDescriptiveString.js b/2018/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2018/SymbolDescriptiveString.js +++ b/2018/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2018/TestIntegrityLevel.js b/2018/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2018/TestIntegrityLevel.js +++ b/2018/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2018/ToDateString.js b/2018/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2018/ToDateString.js +++ b/2018/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2018/ToInt16.js b/2018/ToInt16.js index cb8e7934..21694bde 100644 --- a/2018/ToInt16.js +++ b/2018/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2018/ToInt8.js b/2018/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2018/ToInt8.js +++ b/2018/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2018/ToInteger.js b/2018/ToInteger.js index 29758180..f6625796 100644 --- a/2018/ToInteger.js +++ b/2018/ToInteger.js @@ -4,7 +4,7 @@ var ES5ToInteger = require('../5/ToInteger'); var ToNumber = require('./ToNumber'); -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger +// https://262.ecma-international.org/6.0/#sec-tointeger module.exports = function ToInteger(value) { var number = ToNumber(value); diff --git a/2018/ToNumber.js b/2018/ToNumber.js index 95bdd9ec..1bc0ab53 100644 --- a/2018/ToNumber.js +++ b/2018/ToNumber.js @@ -34,7 +34,7 @@ var $trim = function (value) { var ToPrimitive = require('./ToPrimitive'); -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber +// https://262.ecma-international.org/6.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2018/ToObject.js b/2018/ToObject.js index cb26bac0..26a007ce 100644 --- a/2018/ToObject.js +++ b/2018/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2018/ToPrimitive.js b/2018/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2018/ToPrimitive.js +++ b/2018/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2018/ToPropertyKey.js b/2018/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2018/ToPropertyKey.js +++ b/2018/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2018/ToString.js b/2018/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2018/ToString.js +++ b/2018/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2018/ToUint8.js b/2018/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2018/ToUint8.js +++ b/2018/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2018/ToUint8Clamp.js b/2018/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2018/ToUint8Clamp.js +++ b/2018/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2018/Type.js b/2018/Type.js index 0bd11659..da5cb762 100644 --- a/2018/Type.js +++ b/2018/Type.js @@ -2,7 +2,7 @@ var ES5Type = require('../5/Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values +// https://262.ecma-international.org/6.0/#sec-ecmascript-data-types-and-values module.exports = function Type(x) { if (typeof x === 'symbol') { diff --git a/2018/ValidateAndApplyPropertyDescriptor.js b/2018/ValidateAndApplyPropertyDescriptor.js index a7fd218a..9342046b 100644 --- a/2018/ValidateAndApplyPropertyDescriptor.js +++ b/2018/ValidateAndApplyPropertyDescriptor.js @@ -16,8 +16,8 @@ var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { diff --git a/2018/thisBooleanValue.js b/2018/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2018/thisBooleanValue.js +++ b/2018/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2018/thisNumberValue.js b/2018/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2018/thisNumberValue.js +++ b/2018/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2018/thisStringValue.js b/2018/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2018/thisStringValue.js +++ b/2018/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') { diff --git a/2018/thisTimeValue.js b/2018/thisTimeValue.js index 4687950f..bd50ddd0 100644 --- a/2018/thisTimeValue.js +++ b/2018/thisTimeValue.js @@ -2,7 +2,7 @@ var $DateGetTime = require('call-bind/callBound')('Date.prototype.getTime'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-date-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-date-prototype-object module.exports = function thisTimeValue(value) { return $DateGetTime(value); diff --git a/2019/AbstractEqualityComparison.js b/2019/AbstractEqualityComparison.js index c776194c..b56a5066 100644 --- a/2019/AbstractEqualityComparison.js +++ b/2019/AbstractEqualityComparison.js @@ -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); diff --git a/2019/AdvanceStringIndex.js b/2019/AdvanceStringIndex.js index 279602b4..41f9333e 100644 --- a/2019/AdvanceStringIndex.js +++ b/2019/AdvanceStringIndex.js @@ -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') { diff --git a/2019/ArrayCreate.js b/2019/ArrayCreate.js index cc890caf..f05ab8ce 100644 --- a/2019/ArrayCreate.js +++ b/2019/ArrayCreate.js @@ -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) { diff --git a/2019/ArraySetLength.js b/2019/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2019/ArraySetLength.js +++ b/2019/ArraySetLength.js @@ -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) { diff --git a/2019/ArraySpeciesCreate.js b/2019/ArraySpeciesCreate.js index 26d63b5e..b3bba747 100644 --- a/2019/ArraySpeciesCreate.js +++ b/2019/ArraySpeciesCreate.js @@ -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) { diff --git a/2019/AsyncFromSyncIteratorContinuation.js b/2019/AsyncFromSyncIteratorContinuation.js index c1cc7a11..5618539d 100644 --- a/2019/AsyncFromSyncIteratorContinuation.js +++ b/2019/AsyncFromSyncIteratorContinuation.js @@ -16,7 +16,7 @@ var Type = require('./Type'); var $then = callBound('Promise.prototype.then', true); -// https://ecma-international.org/ecma-262/10.0/#sec-asyncfromsynciteratorcontinuation +// https://262.ecma-international.org/10.0/#sec-asyncfromsynciteratorcontinuation module.exports = function AsyncFromSyncIteratorContinuation(result) { if (Type(result) !== 'Object') { diff --git a/2019/Call.js b/2019/Call.js index 4b238c69..ccc738fc 100644 --- a/2019/Call.js +++ b/2019/Call.js @@ -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] : []; diff --git a/2019/CanonicalNumericIndexString.js b/2019/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2019/CanonicalNumericIndexString.js +++ b/2019/CanonicalNumericIndexString.js @@ -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') { diff --git a/2019/CompletePropertyDescriptor.js b/2019/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2019/CompletePropertyDescriptor.js +++ b/2019/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2019/CreateAsyncFromSyncIterator.js b/2019/CreateAsyncFromSyncIterator.js index dbdce973..d6ec19bd 100644 --- a/2019/CreateAsyncFromSyncIterator.js +++ b/2019/CreateAsyncFromSyncIterator.js @@ -101,7 +101,7 @@ var $AsyncFromSyncIteratorPrototype = GetIntrinsic('%AsyncFromSyncIteratorProtot } }; -// https://ecma-international.org/ecma-262/10.0/#sec-createasyncfromsynciterator +// https://262.ecma-international.org/10.0/#sec-createasyncfromsynciterator module.exports = function CreateAsyncFromSyncIterator(syncIteratorRecord) { assertRecord(Type, 'Iterator Record', 'syncIteratorRecord', syncIteratorRecord); diff --git a/2019/CreateDataProperty.js b/2019/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2019/CreateDataProperty.js +++ b/2019/CreateDataProperty.js @@ -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') { diff --git a/2019/CreateDataPropertyOrThrow.js b/2019/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2019/CreateDataPropertyOrThrow.js +++ b/2019/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2019/CreateHTML.js b/2019/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2019/CreateHTML.js +++ b/2019/CreateHTML.js @@ -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') { diff --git a/2019/CreateIterResultObject.js b/2019/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2019/CreateIterResultObject.js +++ b/2019/CreateIterResultObject.js @@ -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') { diff --git a/2019/CreateListFromArrayLike.js b/2019/CreateListFromArrayLike.js index d1bb8b65..b94a48f0 100644 --- a/2019/CreateListFromArrayLike.js +++ b/2019/CreateListFromArrayLike.js @@ -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] diff --git a/2019/CreateMethodProperty.js b/2019/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2019/CreateMethodProperty.js +++ b/2019/CreateMethodProperty.js @@ -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') { diff --git a/2019/DefinePropertyOrThrow.js b/2019/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2019/DefinePropertyOrThrow.js +++ b/2019/DefinePropertyOrThrow.js @@ -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') { diff --git a/2019/DeletePropertyOrThrow.js b/2019/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2019/DeletePropertyOrThrow.js +++ b/2019/DeletePropertyOrThrow.js @@ -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') { diff --git a/2019/FromPropertyDescriptor.js b/2019/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2019/FromPropertyDescriptor.js +++ b/2019/FromPropertyDescriptor.js @@ -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') { diff --git a/2019/Get.js b/2019/Get.js index 29796864..09731522 100644 --- a/2019/Get.js +++ b/2019/Get.js @@ -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 diff --git a/2019/GetIterator.js b/2019/GetIterator.js index 892197a2..145557da 100644 --- a/2019/GetIterator.js +++ b/2019/GetIterator.js @@ -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; diff --git a/2019/GetMethod.js b/2019/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2019/GetMethod.js +++ b/2019/GetMethod.js @@ -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 diff --git a/2019/GetOwnPropertyKeys.js b/2019/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2019/GetOwnPropertyKeys.js +++ b/2019/GetOwnPropertyKeys.js @@ -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') { diff --git a/2019/GetPrototypeFromConstructor.js b/2019/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2019/GetPrototypeFromConstructor.js +++ b/2019/GetPrototypeFromConstructor.js @@ -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 diff --git a/2019/GetV.js b/2019/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2019/GetV.js +++ b/2019/GetV.js @@ -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 diff --git a/2019/HasOwnProperty.js b/2019/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2019/HasOwnProperty.js +++ b/2019/HasOwnProperty.js @@ -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') { diff --git a/2019/HasProperty.js b/2019/HasProperty.js index b341654e..91476d20 100644 --- a/2019/HasProperty.js +++ b/2019/HasProperty.js @@ -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') { diff --git a/2019/InstanceofOperator.js b/2019/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2019/InstanceofOperator.js +++ b/2019/InstanceofOperator.js @@ -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') { diff --git a/2019/Invoke.js b/2019/Invoke.js index d4214ee5..084e5e28 100644 --- a/2019/Invoke.js +++ b/2019/Invoke.js @@ -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)) { diff --git a/2019/IsAccessorDescriptor.js b/2019/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2019/IsAccessorDescriptor.js +++ b/2019/IsAccessorDescriptor.js @@ -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') { diff --git a/2019/IsArray.js b/2019/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2019/IsArray.js +++ b/2019/IsArray.js @@ -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'); diff --git a/2019/IsConcatSpreadable.js b/2019/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2019/IsConcatSpreadable.js +++ b/2019/IsConcatSpreadable.js @@ -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') { diff --git a/2019/IsConstructor.js b/2019/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2019/IsConstructor.js +++ b/2019/IsConstructor.js @@ -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 = {}; diff --git a/2019/IsDataDescriptor.js b/2019/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2019/IsDataDescriptor.js +++ b/2019/IsDataDescriptor.js @@ -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') { diff --git a/2019/IsExtensible.js b/2019/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2019/IsExtensible.js +++ b/2019/IsExtensible.js @@ -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) { diff --git a/2019/IsGenericDescriptor.js b/2019/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2019/IsGenericDescriptor.js +++ b/2019/IsGenericDescriptor.js @@ -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') { diff --git a/2019/IsInteger.js b/2019/IsInteger.js index f4d1a2a7..dd78c42f 100644 --- a/2019/IsInteger.js +++ b/2019/IsInteger.js @@ -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)) { diff --git a/2019/IsPromise.js b/2019/IsPromise.js index a551ae0c..411539b0 100644 --- a/2019/IsPromise.js +++ b/2019/IsPromise.js @@ -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') { diff --git a/2019/IsPropertyKey.js b/2019/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2019/IsPropertyKey.js +++ b/2019/IsPropertyKey.js @@ -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'; diff --git a/2019/IsRegExp.js b/2019/IsRegExp.js index e1054813..33d983dc 100644 --- a/2019/IsRegExp.js +++ b/2019/IsRegExp.js @@ -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') { diff --git a/2019/IteratorClose.js b/2019/IteratorClose.js index f703ea63..7c107608 100644 --- a/2019/IteratorClose.js +++ b/2019/IteratorClose.js @@ -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') { diff --git a/2019/IteratorComplete.js b/2019/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2019/IteratorComplete.js +++ b/2019/IteratorComplete.js @@ -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') { diff --git a/2019/IteratorNext.js b/2019/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2019/IteratorNext.js +++ b/2019/IteratorNext.js @@ -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]); diff --git a/2019/IteratorStep.js b/2019/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2019/IteratorStep.js +++ b/2019/IteratorStep.js @@ -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); diff --git a/2019/IteratorValue.js b/2019/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2019/IteratorValue.js +++ b/2019/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2019/ObjectCreate.js b/2019/ObjectCreate.js index 1f4bb16a..d7d2d04d 100644 --- a/2019/ObjectCreate.js +++ b/2019/ObjectCreate.js @@ -15,7 +15,7 @@ var SLOT = require('internal-slot'); var hasProto = require('has-proto')(); -// https://ecma-international.org/ecma-262/6.0/#sec-objectcreate +// https://262.ecma-international.org/6.0/#sec-objectcreate module.exports = function ObjectCreate(proto, internalSlotsList) { if (proto !== null && Type(proto) !== 'Object') { diff --git a/2019/OrdinaryCreateFromConstructor.js b/2019/OrdinaryCreateFromConstructor.js index e2a299ea..ede44ed6 100644 --- a/2019/OrdinaryCreateFromConstructor.js +++ b/2019/OrdinaryCreateFromConstructor.js @@ -7,7 +7,7 @@ var GetPrototypeFromConstructor = require('./GetPrototypeFromConstructor'); var IsArray = require('./IsArray'); var ObjectCreate = require('./ObjectCreate'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarycreatefromconstructor +// https://262.ecma-international.org/6.0/#sec-ordinarycreatefromconstructor module.exports = function OrdinaryCreateFromConstructor(constructor, intrinsicDefaultProto) { GetIntrinsic(intrinsicDefaultProto); // throws if not a valid intrinsic diff --git a/2019/OrdinaryDefineOwnProperty.js b/2019/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2019/OrdinaryDefineOwnProperty.js +++ b/2019/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2019/OrdinaryGetOwnProperty.js b/2019/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2019/OrdinaryGetOwnProperty.js +++ b/2019/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2019/OrdinaryHasInstance.js b/2019/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2019/OrdinaryHasInstance.js +++ b/2019/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2019/OrdinaryHasProperty.js b/2019/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2019/OrdinaryHasProperty.js +++ b/2019/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2019/RegExpExec.js b/2019/RegExpExec.js index 29fee172..cf152074 100644 --- a/2019/RegExpExec.js +++ b/2019/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2019/SameValueZero.js b/2019/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2019/SameValueZero.js +++ b/2019/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2019/Set.js b/2019/Set.js index 09714988..96970313 100644 --- a/2019/Set.js +++ b/2019/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2019/SetFunctionName.js b/2019/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2019/SetFunctionName.js +++ b/2019/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2019/SetIntegrityLevel.js b/2019/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2019/SetIntegrityLevel.js +++ b/2019/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2019/SpeciesConstructor.js b/2019/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2019/SpeciesConstructor.js +++ b/2019/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2019/SymbolDescriptiveString.js b/2019/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2019/SymbolDescriptiveString.js +++ b/2019/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2019/TestIntegrityLevel.js b/2019/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2019/TestIntegrityLevel.js +++ b/2019/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2019/ToDateString.js b/2019/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2019/ToDateString.js +++ b/2019/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2019/ToInt16.js b/2019/ToInt16.js index cb8e7934..21694bde 100644 --- a/2019/ToInt16.js +++ b/2019/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2019/ToInt8.js b/2019/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2019/ToInt8.js +++ b/2019/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2019/ToInteger.js b/2019/ToInteger.js index 29758180..f6625796 100644 --- a/2019/ToInteger.js +++ b/2019/ToInteger.js @@ -4,7 +4,7 @@ var ES5ToInteger = require('../5/ToInteger'); var ToNumber = require('./ToNumber'); -// https://ecma-international.org/ecma-262/6.0/#sec-tointeger +// https://262.ecma-international.org/6.0/#sec-tointeger module.exports = function ToInteger(value) { var number = ToNumber(value); diff --git a/2019/ToNumber.js b/2019/ToNumber.js index 95bdd9ec..1bc0ab53 100644 --- a/2019/ToNumber.js +++ b/2019/ToNumber.js @@ -34,7 +34,7 @@ var $trim = function (value) { var ToPrimitive = require('./ToPrimitive'); -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber +// https://262.ecma-international.org/6.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2019/ToObject.js b/2019/ToObject.js index cb26bac0..26a007ce 100644 --- a/2019/ToObject.js +++ b/2019/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2019/ToPrimitive.js b/2019/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2019/ToPrimitive.js +++ b/2019/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2019/ToPropertyKey.js b/2019/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2019/ToPropertyKey.js +++ b/2019/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2019/ToString.js b/2019/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2019/ToString.js +++ b/2019/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2019/ToUint8.js b/2019/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2019/ToUint8.js +++ b/2019/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2019/ToUint8Clamp.js b/2019/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2019/ToUint8Clamp.js +++ b/2019/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2019/Type.js b/2019/Type.js index 0bd11659..da5cb762 100644 --- a/2019/Type.js +++ b/2019/Type.js @@ -2,7 +2,7 @@ var ES5Type = require('../5/Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values +// https://262.ecma-international.org/6.0/#sec-ecmascript-data-types-and-values module.exports = function Type(x) { if (typeof x === 'symbol') { diff --git a/2019/ValidateAndApplyPropertyDescriptor.js b/2019/ValidateAndApplyPropertyDescriptor.js index a7fd218a..9342046b 100644 --- a/2019/ValidateAndApplyPropertyDescriptor.js +++ b/2019/ValidateAndApplyPropertyDescriptor.js @@ -16,8 +16,8 @@ var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { diff --git a/2019/thisBooleanValue.js b/2019/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2019/thisBooleanValue.js +++ b/2019/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2019/thisNumberValue.js b/2019/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2019/thisNumberValue.js +++ b/2019/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2019/thisStringValue.js b/2019/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2019/thisStringValue.js +++ b/2019/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') { diff --git a/2020/AbstractEqualityComparison.js b/2020/AbstractEqualityComparison.js index 83b29496..871a84fa 100644 --- a/2020/AbstractEqualityComparison.js +++ b/2020/AbstractEqualityComparison.js @@ -8,7 +8,7 @@ var Type = require('./Type'); var isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/11.0/#sec-abstract-equality-comparison +// https://262.ecma-international.org/11.0/#sec-abstract-equality-comparison module.exports = function AbstractEqualityComparison(x, y) { var xType = Type(x); diff --git a/2020/ArrayCreate.js b/2020/ArrayCreate.js index cc890caf..f05ab8ce 100644 --- a/2020/ArrayCreate.js +++ b/2020/ArrayCreate.js @@ -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) { diff --git a/2020/ArraySetLength.js b/2020/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2020/ArraySetLength.js +++ b/2020/ArraySetLength.js @@ -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) { diff --git a/2020/ArraySpeciesCreate.js b/2020/ArraySpeciesCreate.js index 26d63b5e..b3bba747 100644 --- a/2020/ArraySpeciesCreate.js +++ b/2020/ArraySpeciesCreate.js @@ -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) { diff --git a/2020/AsyncFromSyncIteratorContinuation.js b/2020/AsyncFromSyncIteratorContinuation.js index c1cc7a11..5618539d 100644 --- a/2020/AsyncFromSyncIteratorContinuation.js +++ b/2020/AsyncFromSyncIteratorContinuation.js @@ -16,7 +16,7 @@ var Type = require('./Type'); var $then = callBound('Promise.prototype.then', true); -// https://ecma-international.org/ecma-262/10.0/#sec-asyncfromsynciteratorcontinuation +// https://262.ecma-international.org/10.0/#sec-asyncfromsynciteratorcontinuation module.exports = function AsyncFromSyncIteratorContinuation(result) { if (Type(result) !== 'Object') { diff --git a/2020/Call.js b/2020/Call.js index 4b238c69..ccc738fc 100644 --- a/2020/Call.js +++ b/2020/Call.js @@ -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] : []; diff --git a/2020/CanonicalNumericIndexString.js b/2020/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2020/CanonicalNumericIndexString.js +++ b/2020/CanonicalNumericIndexString.js @@ -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') { diff --git a/2020/CompletePropertyDescriptor.js b/2020/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2020/CompletePropertyDescriptor.js +++ b/2020/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2020/CreateAsyncFromSyncIterator.js b/2020/CreateAsyncFromSyncIterator.js index 693321d5..64540dd6 100644 --- a/2020/CreateAsyncFromSyncIterator.js +++ b/2020/CreateAsyncFromSyncIterator.js @@ -101,7 +101,7 @@ var $AsyncFromSyncIteratorPrototype = GetIntrinsic('%AsyncFromSyncIteratorProtot } }; -// https://ecma-international.org/ecma-262/11.0/#sec-createasyncfromsynciterator +// https://262.ecma-international.org/11.0/#sec-createasyncfromsynciterator module.exports = function CreateAsyncFromSyncIterator(syncIteratorRecord) { assertRecord(Type, 'Iterator Record', 'syncIteratorRecord', syncIteratorRecord); diff --git a/2020/CreateDataProperty.js b/2020/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2020/CreateDataProperty.js +++ b/2020/CreateDataProperty.js @@ -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') { diff --git a/2020/CreateDataPropertyOrThrow.js b/2020/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2020/CreateDataPropertyOrThrow.js +++ b/2020/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2020/CreateHTML.js b/2020/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2020/CreateHTML.js +++ b/2020/CreateHTML.js @@ -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') { diff --git a/2020/CreateIterResultObject.js b/2020/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2020/CreateIterResultObject.js +++ b/2020/CreateIterResultObject.js @@ -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') { diff --git a/2020/CreateMethodProperty.js b/2020/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2020/CreateMethodProperty.js +++ b/2020/CreateMethodProperty.js @@ -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') { diff --git a/2020/DefinePropertyOrThrow.js b/2020/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2020/DefinePropertyOrThrow.js +++ b/2020/DefinePropertyOrThrow.js @@ -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') { diff --git a/2020/DeletePropertyOrThrow.js b/2020/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2020/DeletePropertyOrThrow.js +++ b/2020/DeletePropertyOrThrow.js @@ -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') { diff --git a/2020/FromPropertyDescriptor.js b/2020/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2020/FromPropertyDescriptor.js +++ b/2020/FromPropertyDescriptor.js @@ -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') { diff --git a/2020/Get.js b/2020/Get.js index 29796864..09731522 100644 --- a/2020/Get.js +++ b/2020/Get.js @@ -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 diff --git a/2020/GetMethod.js b/2020/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2020/GetMethod.js +++ b/2020/GetMethod.js @@ -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 diff --git a/2020/GetOwnPropertyKeys.js b/2020/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2020/GetOwnPropertyKeys.js +++ b/2020/GetOwnPropertyKeys.js @@ -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') { diff --git a/2020/GetPrototypeFromConstructor.js b/2020/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2020/GetPrototypeFromConstructor.js +++ b/2020/GetPrototypeFromConstructor.js @@ -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 diff --git a/2020/GetV.js b/2020/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2020/GetV.js +++ b/2020/GetV.js @@ -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 diff --git a/2020/HasOwnProperty.js b/2020/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2020/HasOwnProperty.js +++ b/2020/HasOwnProperty.js @@ -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') { diff --git a/2020/HasProperty.js b/2020/HasProperty.js index b341654e..91476d20 100644 --- a/2020/HasProperty.js +++ b/2020/HasProperty.js @@ -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') { diff --git a/2020/InstanceofOperator.js b/2020/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2020/InstanceofOperator.js +++ b/2020/InstanceofOperator.js @@ -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') { diff --git a/2020/Invoke.js b/2020/Invoke.js index d4214ee5..084e5e28 100644 --- a/2020/Invoke.js +++ b/2020/Invoke.js @@ -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)) { diff --git a/2020/IsAccessorDescriptor.js b/2020/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2020/IsAccessorDescriptor.js +++ b/2020/IsAccessorDescriptor.js @@ -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') { diff --git a/2020/IsArray.js b/2020/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2020/IsArray.js +++ b/2020/IsArray.js @@ -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'); diff --git a/2020/IsConcatSpreadable.js b/2020/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2020/IsConcatSpreadable.js +++ b/2020/IsConcatSpreadable.js @@ -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') { diff --git a/2020/IsConstructor.js b/2020/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2020/IsConstructor.js +++ b/2020/IsConstructor.js @@ -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 = {}; diff --git a/2020/IsDataDescriptor.js b/2020/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2020/IsDataDescriptor.js +++ b/2020/IsDataDescriptor.js @@ -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') { diff --git a/2020/IsExtensible.js b/2020/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2020/IsExtensible.js +++ b/2020/IsExtensible.js @@ -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) { diff --git a/2020/IsGenericDescriptor.js b/2020/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2020/IsGenericDescriptor.js +++ b/2020/IsGenericDescriptor.js @@ -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') { diff --git a/2020/IsInteger.js b/2020/IsInteger.js index f4d1a2a7..dd78c42f 100644 --- a/2020/IsInteger.js +++ b/2020/IsInteger.js @@ -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)) { diff --git a/2020/IsPromise.js b/2020/IsPromise.js index a551ae0c..411539b0 100644 --- a/2020/IsPromise.js +++ b/2020/IsPromise.js @@ -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') { diff --git a/2020/IsPropertyKey.js b/2020/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2020/IsPropertyKey.js +++ b/2020/IsPropertyKey.js @@ -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'; diff --git a/2020/IsRegExp.js b/2020/IsRegExp.js index e1054813..33d983dc 100644 --- a/2020/IsRegExp.js +++ b/2020/IsRegExp.js @@ -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') { diff --git a/2020/IteratorClose.js b/2020/IteratorClose.js index f703ea63..7c107608 100644 --- a/2020/IteratorClose.js +++ b/2020/IteratorClose.js @@ -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') { diff --git a/2020/IteratorComplete.js b/2020/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2020/IteratorComplete.js +++ b/2020/IteratorComplete.js @@ -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') { diff --git a/2020/IteratorNext.js b/2020/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2020/IteratorNext.js +++ b/2020/IteratorNext.js @@ -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]); diff --git a/2020/IteratorStep.js b/2020/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2020/IteratorStep.js +++ b/2020/IteratorStep.js @@ -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); diff --git a/2020/IteratorValue.js b/2020/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2020/IteratorValue.js +++ b/2020/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2020/OrdinaryDefineOwnProperty.js b/2020/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2020/OrdinaryDefineOwnProperty.js +++ b/2020/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2020/OrdinaryGetOwnProperty.js b/2020/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2020/OrdinaryGetOwnProperty.js +++ b/2020/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2020/OrdinaryHasInstance.js b/2020/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2020/OrdinaryHasInstance.js +++ b/2020/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2020/OrdinaryHasProperty.js b/2020/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2020/OrdinaryHasProperty.js +++ b/2020/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2020/RegExpExec.js b/2020/RegExpExec.js index 29fee172..cf152074 100644 --- a/2020/RegExpExec.js +++ b/2020/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2020/SameValueZero.js b/2020/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2020/SameValueZero.js +++ b/2020/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2020/Set.js b/2020/Set.js index 09714988..96970313 100644 --- a/2020/Set.js +++ b/2020/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2020/SetFunctionName.js b/2020/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2020/SetFunctionName.js +++ b/2020/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2020/SetIntegrityLevel.js b/2020/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2020/SetIntegrityLevel.js +++ b/2020/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2020/SpeciesConstructor.js b/2020/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2020/SpeciesConstructor.js +++ b/2020/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2020/SymbolDescriptiveString.js b/2020/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2020/SymbolDescriptiveString.js +++ b/2020/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2020/TestIntegrityLevel.js b/2020/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2020/TestIntegrityLevel.js +++ b/2020/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2020/ToDateString.js b/2020/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2020/ToDateString.js +++ b/2020/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2020/ToInt16.js b/2020/ToInt16.js index cb8e7934..21694bde 100644 --- a/2020/ToInt16.js +++ b/2020/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2020/ToInt8.js b/2020/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2020/ToInt8.js +++ b/2020/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2020/ToNumber.js b/2020/ToNumber.js index c9e29f2c..1474c314 100644 --- a/2020/ToNumber.js +++ b/2020/ToNumber.js @@ -34,7 +34,7 @@ var $trim = function (value) { var ToPrimitive = require('./ToPrimitive'); -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber +// https://262.ecma-international.org/6.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2020/ToObject.js b/2020/ToObject.js index cb26bac0..26a007ce 100644 --- a/2020/ToObject.js +++ b/2020/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2020/ToPrimitive.js b/2020/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2020/ToPrimitive.js +++ b/2020/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2020/ToPropertyKey.js b/2020/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2020/ToPropertyKey.js +++ b/2020/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2020/ToString.js b/2020/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2020/ToString.js +++ b/2020/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2020/ToUint8.js b/2020/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2020/ToUint8.js +++ b/2020/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2020/ToUint8Clamp.js b/2020/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2020/ToUint8Clamp.js +++ b/2020/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2020/ValidateAndApplyPropertyDescriptor.js b/2020/ValidateAndApplyPropertyDescriptor.js index a7fd218a..9342046b 100644 --- a/2020/ValidateAndApplyPropertyDescriptor.js +++ b/2020/ValidateAndApplyPropertyDescriptor.js @@ -16,8 +16,8 @@ var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { diff --git a/2020/thisBooleanValue.js b/2020/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2020/thisBooleanValue.js +++ b/2020/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2020/thisNumberValue.js b/2020/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2020/thisNumberValue.js +++ b/2020/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2020/thisStringValue.js b/2020/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2020/thisStringValue.js +++ b/2020/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') { diff --git a/2021/AbstractEqualityComparison.js b/2021/AbstractEqualityComparison.js index 83b29496..871a84fa 100644 --- a/2021/AbstractEqualityComparison.js +++ b/2021/AbstractEqualityComparison.js @@ -8,7 +8,7 @@ var Type = require('./Type'); var isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/11.0/#sec-abstract-equality-comparison +// https://262.ecma-international.org/11.0/#sec-abstract-equality-comparison module.exports = function AbstractEqualityComparison(x, y) { var xType = Type(x); diff --git a/2021/AddToKeptObjects.js b/2021/AddToKeptObjects.js index c3088d99..a2495ba8 100644 --- a/2021/AddToKeptObjects.js +++ b/2021/AddToKeptObjects.js @@ -11,7 +11,7 @@ var Type = require('./Type'); var $push = callBound('Array.prototype.push'); -// https://ecma-international.org/ecma-262/12.0/#sec-addtokeptobjects +// https://262.ecma-international.org/12.0/#sec-addtokeptobjects module.exports = function AddToKeptObjects(object) { if (Type(object) !== 'Object') { diff --git a/2021/AdvanceStringIndex.js b/2021/AdvanceStringIndex.js index eeae5312..599a57f9 100644 --- a/2021/AdvanceStringIndex.js +++ b/2021/AdvanceStringIndex.js @@ -10,7 +10,7 @@ var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/12.0/#sec-advancestringindex +// https://262.ecma-international.org/12.0/#sec-advancestringindex module.exports = function AdvanceStringIndex(S, index, unicode) { if (Type(S) !== 'String') { diff --git a/2021/ApplyStringOrNumericBinaryOperator.js b/2021/ApplyStringOrNumericBinaryOperator.js index 824a1054..e5f997a3 100644 --- a/2021/ApplyStringOrNumericBinaryOperator.js +++ b/2021/ApplyStringOrNumericBinaryOperator.js @@ -35,9 +35,9 @@ var BigIntSignedRightShift = require('./BigInt/signedRightShift'); var BigIntSubtract = require('./BigInt/subtract'); var BigIntUnsignedRightShift = require('./BigInt/unsignedRightShift'); -// https://ecma-international.org/ecma-262/12.0/#sec-applystringornumericbinaryoperator +// https://262.ecma-international.org/12.0/#sec-applystringornumericbinaryoperator -// https://ecma-international.org/ecma-262/12.0/#step-applystringornumericbinaryoperator-operations-table +// https://262.ecma-international.org/12.0/#step-applystringornumericbinaryoperator-operations-table var table = { '**': [NumberExponentiate, BigIntExponentiate], '*': [NumberMultiply, BigIntMultiply], diff --git a/2021/ArraySetLength.js b/2021/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2021/ArraySetLength.js +++ b/2021/ArraySetLength.js @@ -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) { diff --git a/2021/ArraySpeciesCreate.js b/2021/ArraySpeciesCreate.js index d908fa35..99b55eb2 100644 --- a/2021/ArraySpeciesCreate.js +++ b/2021/ArraySpeciesCreate.js @@ -12,7 +12,7 @@ var IsConstructor = require('./IsConstructor'); var IsIntegralNumber = require('./IsIntegralNumber'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate +// https://262.ecma-international.org/12.0/#sec-arrayspeciescreate module.exports = function ArraySpeciesCreate(originalArray, length) { if (!IsIntegralNumber(length) || length < 0) { diff --git a/2021/AsyncFromSyncIteratorContinuation.js b/2021/AsyncFromSyncIteratorContinuation.js index c1cc7a11..5618539d 100644 --- a/2021/AsyncFromSyncIteratorContinuation.js +++ b/2021/AsyncFromSyncIteratorContinuation.js @@ -16,7 +16,7 @@ var Type = require('./Type'); var $then = callBound('Promise.prototype.then', true); -// https://ecma-international.org/ecma-262/10.0/#sec-asyncfromsynciteratorcontinuation +// https://262.ecma-international.org/10.0/#sec-asyncfromsynciteratorcontinuation module.exports = function AsyncFromSyncIteratorContinuation(result) { if (Type(result) !== 'Object') { diff --git a/2021/ByteListBitwiseOp.js b/2021/ByteListBitwiseOp.js index 4e3c1f10..67f4cecb 100644 --- a/2021/ByteListBitwiseOp.js +++ b/2021/ByteListBitwiseOp.js @@ -11,7 +11,7 @@ var IsArray = require('./IsArray'); var isByteValue = require('../helpers/isByteValue'); -// https://ecma-international.org/ecma-262/12.0/#sec-bytelistbitwiseop +// https://262.ecma-international.org/12.0/#sec-bytelistbitwiseop module.exports = function ByteListBitwiseOp(op, xBytes, yBytes) { if (op !== '&' && op !== '^' && op !== '|') { diff --git a/2021/ByteListEqual.js b/2021/ByteListEqual.js index adc2378e..489ddc22 100644 --- a/2021/ByteListEqual.js +++ b/2021/ByteListEqual.js @@ -8,7 +8,7 @@ var IsArray = require('./IsArray'); var isByteValue = require('../helpers/isByteValue'); -// https://ecma-international.org/ecma-262/12.0/#sec-bytelistequal +// https://262.ecma-international.org/12.0/#sec-bytelistequal module.exports = function ByteListEqual(xBytes, yBytes) { if (!IsArray(xBytes) || !IsArray(yBytes)) { diff --git a/2021/Call.js b/2021/Call.js index 4b238c69..ccc738fc 100644 --- a/2021/Call.js +++ b/2021/Call.js @@ -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] : []; diff --git a/2021/CanonicalNumericIndexString.js b/2021/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2021/CanonicalNumericIndexString.js +++ b/2021/CanonicalNumericIndexString.js @@ -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') { diff --git a/2021/ClearKeptObjects.js b/2021/ClearKeptObjects.js index 9397f596..50bd4a5d 100644 --- a/2021/ClearKeptObjects.js +++ b/2021/ClearKeptObjects.js @@ -3,7 +3,7 @@ var SLOT = require('internal-slot'); var keptObjects = []; -// https://ecma-international.org/ecma-262/12.0/#sec-clear-kept-objects +// https://262.ecma-international.org/12.0/#sec-clear-kept-objects module.exports = function ClearKeptObjects() { keptObjects.length = 0; diff --git a/2021/CodePointAt.js b/2021/CodePointAt.js index 7a9ac1be..e1e22905 100644 --- a/2021/CodePointAt.js +++ b/2021/CodePointAt.js @@ -13,7 +13,7 @@ var UTF16SurrogatePairToCodePoint = require('./UTF16SurrogatePairToCodePoint'); var $charAt = callBound('String.prototype.charAt'); var $charCodeAt = callBound('String.prototype.charCodeAt'); -// https://ecma-international.org/ecma-262/12.0/#sec-codepointat +// https://262.ecma-international.org/12.0/#sec-codepointat module.exports = function CodePointAt(string, position) { if (Type(string) !== 'String') { diff --git a/2021/CodePointsToString.js b/2021/CodePointsToString.js index 403126cd..6d7cd854 100644 --- a/2021/CodePointsToString.js +++ b/2021/CodePointsToString.js @@ -10,7 +10,7 @@ var IsArray = require('./IsArray'); var forEach = require('../helpers/forEach'); var isCodePoint = require('../helpers/isCodePoint'); -// https://ecma-international.org/ecma-262/12.0/#sec-codepointstostring +// https://262.ecma-international.org/12.0/#sec-codepointstostring module.exports = function CodePointsToString(text) { if (!IsArray(text)) { diff --git a/2021/CompletePropertyDescriptor.js b/2021/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2021/CompletePropertyDescriptor.js +++ b/2021/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2021/CreateAsyncFromSyncIterator.js b/2021/CreateAsyncFromSyncIterator.js index 693321d5..64540dd6 100644 --- a/2021/CreateAsyncFromSyncIterator.js +++ b/2021/CreateAsyncFromSyncIterator.js @@ -101,7 +101,7 @@ var $AsyncFromSyncIteratorPrototype = GetIntrinsic('%AsyncFromSyncIteratorProtot } }; -// https://ecma-international.org/ecma-262/11.0/#sec-createasyncfromsynciterator +// https://262.ecma-international.org/11.0/#sec-createasyncfromsynciterator module.exports = function CreateAsyncFromSyncIterator(syncIteratorRecord) { assertRecord(Type, 'Iterator Record', 'syncIteratorRecord', syncIteratorRecord); diff --git a/2021/CreateDataProperty.js b/2021/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2021/CreateDataProperty.js +++ b/2021/CreateDataProperty.js @@ -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') { diff --git a/2021/CreateDataPropertyOrThrow.js b/2021/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2021/CreateDataPropertyOrThrow.js +++ b/2021/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2021/CreateHTML.js b/2021/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2021/CreateHTML.js +++ b/2021/CreateHTML.js @@ -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') { diff --git a/2021/CreateIterResultObject.js b/2021/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2021/CreateIterResultObject.js +++ b/2021/CreateIterResultObject.js @@ -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') { diff --git a/2021/CreateMethodProperty.js b/2021/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2021/CreateMethodProperty.js +++ b/2021/CreateMethodProperty.js @@ -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') { diff --git a/2021/DefinePropertyOrThrow.js b/2021/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2021/DefinePropertyOrThrow.js +++ b/2021/DefinePropertyOrThrow.js @@ -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') { diff --git a/2021/DeletePropertyOrThrow.js b/2021/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2021/DeletePropertyOrThrow.js +++ b/2021/DeletePropertyOrThrow.js @@ -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') { diff --git a/2021/FromPropertyDescriptor.js b/2021/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2021/FromPropertyDescriptor.js +++ b/2021/FromPropertyDescriptor.js @@ -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') { diff --git a/2021/Get.js b/2021/Get.js index 29796864..09731522 100644 --- a/2021/Get.js +++ b/2021/Get.js @@ -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 diff --git a/2021/GetMethod.js b/2021/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2021/GetMethod.js +++ b/2021/GetMethod.js @@ -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 diff --git a/2021/GetOwnPropertyKeys.js b/2021/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2021/GetOwnPropertyKeys.js +++ b/2021/GetOwnPropertyKeys.js @@ -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') { diff --git a/2021/GetPromiseResolve.js b/2021/GetPromiseResolve.js index 6efc1028..f0db0261 100644 --- a/2021/GetPromiseResolve.js +++ b/2021/GetPromiseResolve.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var IsConstructor = require('./IsConstructor'); -// https://ecma-international.org/ecma-262/12.0/#sec-getpromiseresolve +// https://262.ecma-international.org/12.0/#sec-getpromiseresolve module.exports = function GetPromiseResolve(promiseConstructor) { if (!IsConstructor(promiseConstructor)) { diff --git a/2021/GetPrototypeFromConstructor.js b/2021/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2021/GetPrototypeFromConstructor.js +++ b/2021/GetPrototypeFromConstructor.js @@ -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 diff --git a/2021/GetV.js b/2021/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2021/GetV.js +++ b/2021/GetV.js @@ -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 diff --git a/2021/HasOwnProperty.js b/2021/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2021/HasOwnProperty.js +++ b/2021/HasOwnProperty.js @@ -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') { diff --git a/2021/HasProperty.js b/2021/HasProperty.js index b341654e..91476d20 100644 --- a/2021/HasProperty.js +++ b/2021/HasProperty.js @@ -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') { diff --git a/2021/InstanceofOperator.js b/2021/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2021/InstanceofOperator.js +++ b/2021/InstanceofOperator.js @@ -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') { diff --git a/2021/Invoke.js b/2021/Invoke.js index d4214ee5..084e5e28 100644 --- a/2021/Invoke.js +++ b/2021/Invoke.js @@ -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)) { diff --git a/2021/IsAccessorDescriptor.js b/2021/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2021/IsAccessorDescriptor.js +++ b/2021/IsAccessorDescriptor.js @@ -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') { diff --git a/2021/IsArray.js b/2021/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2021/IsArray.js +++ b/2021/IsArray.js @@ -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'); diff --git a/2021/IsConcatSpreadable.js b/2021/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2021/IsConcatSpreadable.js +++ b/2021/IsConcatSpreadable.js @@ -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') { diff --git a/2021/IsConstructor.js b/2021/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2021/IsConstructor.js +++ b/2021/IsConstructor.js @@ -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 = {}; diff --git a/2021/IsDataDescriptor.js b/2021/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2021/IsDataDescriptor.js +++ b/2021/IsDataDescriptor.js @@ -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') { diff --git a/2021/IsExtensible.js b/2021/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2021/IsExtensible.js +++ b/2021/IsExtensible.js @@ -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) { diff --git a/2021/IsGenericDescriptor.js b/2021/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2021/IsGenericDescriptor.js +++ b/2021/IsGenericDescriptor.js @@ -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') { diff --git a/2021/IsPromise.js b/2021/IsPromise.js index a551ae0c..411539b0 100644 --- a/2021/IsPromise.js +++ b/2021/IsPromise.js @@ -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') { diff --git a/2021/IsPropertyKey.js b/2021/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2021/IsPropertyKey.js +++ b/2021/IsPropertyKey.js @@ -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'; diff --git a/2021/IsRegExp.js b/2021/IsRegExp.js index e1054813..33d983dc 100644 --- a/2021/IsRegExp.js +++ b/2021/IsRegExp.js @@ -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') { diff --git a/2021/IteratorClose.js b/2021/IteratorClose.js index f703ea63..7c107608 100644 --- a/2021/IteratorClose.js +++ b/2021/IteratorClose.js @@ -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') { diff --git a/2021/IteratorComplete.js b/2021/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2021/IteratorComplete.js +++ b/2021/IteratorComplete.js @@ -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') { diff --git a/2021/IteratorNext.js b/2021/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2021/IteratorNext.js +++ b/2021/IteratorNext.js @@ -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]); diff --git a/2021/IteratorStep.js b/2021/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2021/IteratorStep.js +++ b/2021/IteratorStep.js @@ -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); diff --git a/2021/IteratorValue.js b/2021/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2021/IteratorValue.js +++ b/2021/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2021/MakeDay.js b/2021/MakeDay.js index db78bbc7..161ccaf2 100644 --- a/2021/MakeDay.js +++ b/2021/MakeDay.js @@ -14,7 +14,7 @@ var MonthFromTime = require('./MonthFromTime'); var ToIntegerOrInfinity = require('./ToIntegerOrInfinity'); var YearFromTime = require('./YearFromTime'); -// https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.12 +// https://262.ecma-international.org/5.1/#sec-15.9.1.12 module.exports = function MakeDay(year, month, date) { if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { diff --git a/2021/MakeTime.js b/2021/MakeTime.js index 330d3bdb..73cc795e 100644 --- a/2021/MakeTime.js +++ b/2021/MakeTime.js @@ -8,7 +8,7 @@ var msPerHour = timeConstants.msPerHour; var ToIntegerOrInfinity = require('./ToIntegerOrInfinity'); -// https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.11 +// https://262.ecma-international.org/5.1/#sec-15.9.1.11 module.exports = function MakeTime(hour, min, sec, ms) { if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { diff --git a/2021/OrdinaryDefineOwnProperty.js b/2021/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2021/OrdinaryDefineOwnProperty.js +++ b/2021/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2021/OrdinaryGetOwnProperty.js b/2021/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2021/OrdinaryGetOwnProperty.js +++ b/2021/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2021/OrdinaryHasInstance.js b/2021/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2021/OrdinaryHasInstance.js +++ b/2021/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2021/OrdinaryHasProperty.js b/2021/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2021/OrdinaryHasProperty.js +++ b/2021/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2021/QuoteJSONString.js b/2021/QuoteJSONString.js index 0deebecf..e3851480 100644 --- a/2021/QuoteJSONString.js +++ b/2021/QuoteJSONString.js @@ -18,7 +18,7 @@ var UTF16EncodeCodePoint = require('./UTF16EncodeCodePoint'); var has = require('has'); -// https://ecma-international.org/ecma-262/12.0/#sec-quotejsonstring +// https://262.ecma-international.org/12.0/#sec-quotejsonstring var escapes = { '\u0008': '\\b', diff --git a/2021/RegExpExec.js b/2021/RegExpExec.js index 29fee172..cf152074 100644 --- a/2021/RegExpExec.js +++ b/2021/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2021/SameValueZero.js b/2021/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2021/SameValueZero.js +++ b/2021/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2021/Set.js b/2021/Set.js index 09714988..96970313 100644 --- a/2021/Set.js +++ b/2021/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2021/SetFunctionLength.js b/2021/SetFunctionLength.js index 8c06b242..148934b1 100644 --- a/2021/SetFunctionLength.js +++ b/2021/SetFunctionLength.js @@ -10,7 +10,7 @@ var IsExtensible = require('./IsExtensible'); var IsIntegralNumber = require('./IsIntegralNumber'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/12.0/#sec-setfunctionlength +// https://262.ecma-international.org/12.0/#sec-setfunctionlength module.exports = function SetFunctionLength(F, length) { if (typeof F !== 'function' || !IsExtensible(F) || HasOwnProperty(F, 'length')) { diff --git a/2021/SetFunctionName.js b/2021/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2021/SetFunctionName.js +++ b/2021/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2021/SetIntegrityLevel.js b/2021/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2021/SetIntegrityLevel.js +++ b/2021/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2021/SpeciesConstructor.js b/2021/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2021/SpeciesConstructor.js +++ b/2021/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2021/StringGetOwnProperty.js b/2021/StringGetOwnProperty.js index ecffb0b7..579bb955 100644 --- a/2021/StringGetOwnProperty.js +++ b/2021/StringGetOwnProperty.js @@ -15,7 +15,7 @@ var Type = require('./Type'); var isNegativeZero = require('is-negative-zero'); -// https://ecma-international.org/ecma-262/12.0/#sec-stringgetownproperty +// https://262.ecma-international.org/12.0/#sec-stringgetownproperty module.exports = function StringGetOwnProperty(S, P) { var str; diff --git a/2021/StringIndexOf.js b/2021/StringIndexOf.js index 371d5aa3..ad1ce750 100644 --- a/2021/StringIndexOf.js +++ b/2021/StringIndexOf.js @@ -10,7 +10,7 @@ var Type = require('./Type'); var $slice = callBound('String.prototype.slice'); -// https://ecma-international.org/ecma-262/12.0/#sec-stringindexof +// https://262.ecma-international.org/12.0/#sec-stringindexof module.exports = function StringIndexOf(string, searchValue, fromIndex) { if (Type(string) !== 'String') { diff --git a/2021/StringToCodePoints.js b/2021/StringToCodePoints.js index 336bd06f..f503ce1b 100644 --- a/2021/StringToCodePoints.js +++ b/2021/StringToCodePoints.js @@ -11,7 +11,7 @@ var $push = callBound('Array.prototype.push'); var CodePointAt = require('./CodePointAt'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/12.0/#sec-stringtocodepoints +// https://262.ecma-international.org/12.0/#sec-stringtocodepoints module.exports = function StringToCodePoints(string) { if (Type(string) !== 'String') { diff --git a/2021/SymbolDescriptiveString.js b/2021/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2021/SymbolDescriptiveString.js +++ b/2021/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2021/TestIntegrityLevel.js b/2021/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2021/TestIntegrityLevel.js +++ b/2021/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2021/ToDateString.js b/2021/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2021/ToDateString.js +++ b/2021/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2021/ToInt16.js b/2021/ToInt16.js index cb8e7934..21694bde 100644 --- a/2021/ToInt16.js +++ b/2021/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2021/ToInt8.js b/2021/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2021/ToInt8.js +++ b/2021/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2021/ToNumber.js b/2021/ToNumber.js index c9e29f2c..1474c314 100644 --- a/2021/ToNumber.js +++ b/2021/ToNumber.js @@ -34,7 +34,7 @@ var $trim = function (value) { var ToPrimitive = require('./ToPrimitive'); -// https://ecma-international.org/ecma-262/6.0/#sec-tonumber +// https://262.ecma-international.org/6.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2021/ToObject.js b/2021/ToObject.js index cb26bac0..26a007ce 100644 --- a/2021/ToObject.js +++ b/2021/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2021/ToPrimitive.js b/2021/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2021/ToPrimitive.js +++ b/2021/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2021/ToPropertyKey.js b/2021/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2021/ToPropertyKey.js +++ b/2021/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2021/ToString.js b/2021/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2021/ToString.js +++ b/2021/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2021/ToUint8.js b/2021/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2021/ToUint8.js +++ b/2021/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2021/ToUint8Clamp.js b/2021/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2021/ToUint8Clamp.js +++ b/2021/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2021/UTF16EncodeCodePoint.js b/2021/UTF16EncodeCodePoint.js index 0c7fb11e..0af67bc1 100644 --- a/2021/UTF16EncodeCodePoint.js +++ b/2021/UTF16EncodeCodePoint.js @@ -10,7 +10,7 @@ var modulo = require('./modulo'); var isCodePoint = require('../helpers/isCodePoint'); -// https://ecma-international.org/ecma-262/12.0/#sec-utf16encoding +// https://262.ecma-international.org/12.0/#sec-utf16encoding module.exports = function UTF16EncodeCodePoint(cp) { if (!isCodePoint(cp)) { diff --git a/2021/ValidateAndApplyPropertyDescriptor.js b/2021/ValidateAndApplyPropertyDescriptor.js index a7fd218a..9342046b 100644 --- a/2021/ValidateAndApplyPropertyDescriptor.js +++ b/2021/ValidateAndApplyPropertyDescriptor.js @@ -16,8 +16,8 @@ var IsPropertyKey = require('./IsPropertyKey'); var SameValue = require('./SameValue'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-validateandapplypropertydescriptor -// https://ecma-international.org/ecma-262/8.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/6.0/#sec-validateandapplypropertydescriptor +// https://262.ecma-international.org/8.0/#sec-validateandapplypropertydescriptor // eslint-disable-next-line max-lines-per-function, max-statements, max-params module.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) { diff --git a/2021/WeakRefDeref.js b/2021/WeakRefDeref.js index 66d2d172..6b9921f3 100644 --- a/2021/WeakRefDeref.js +++ b/2021/WeakRefDeref.js @@ -10,7 +10,7 @@ var isWeakRef = require('is-weakref'); var AddToKeptObjects = require('./AddToKeptObjects'); -// https://ecma-international.org/ecma-262/12.0/#sec-weakrefderef +// https://262.ecma-international.org/12.0/#sec-weakrefderef module.exports = function WeakRefDeref(weakRef) { if (!isWeakRef(weakRef)) { diff --git a/2021/thisBooleanValue.js b/2021/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2021/thisBooleanValue.js +++ b/2021/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2021/thisNumberValue.js b/2021/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2021/thisNumberValue.js +++ b/2021/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2021/thisStringValue.js b/2021/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2021/thisStringValue.js +++ b/2021/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') { diff --git a/2022/AddToKeptObjects.js b/2022/AddToKeptObjects.js index c3088d99..a2495ba8 100644 --- a/2022/AddToKeptObjects.js +++ b/2022/AddToKeptObjects.js @@ -11,7 +11,7 @@ var Type = require('./Type'); var $push = callBound('Array.prototype.push'); -// https://ecma-international.org/ecma-262/12.0/#sec-addtokeptobjects +// https://262.ecma-international.org/12.0/#sec-addtokeptobjects module.exports = function AddToKeptObjects(object) { if (Type(object) !== 'Object') { diff --git a/2022/AdvanceStringIndex.js b/2022/AdvanceStringIndex.js index eeae5312..599a57f9 100644 --- a/2022/AdvanceStringIndex.js +++ b/2022/AdvanceStringIndex.js @@ -10,7 +10,7 @@ var MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/12.0/#sec-advancestringindex +// https://262.ecma-international.org/12.0/#sec-advancestringindex module.exports = function AdvanceStringIndex(S, index, unicode) { if (Type(S) !== 'String') { diff --git a/2022/ApplyStringOrNumericBinaryOperator.js b/2022/ApplyStringOrNumericBinaryOperator.js index 824a1054..e5f997a3 100644 --- a/2022/ApplyStringOrNumericBinaryOperator.js +++ b/2022/ApplyStringOrNumericBinaryOperator.js @@ -35,9 +35,9 @@ var BigIntSignedRightShift = require('./BigInt/signedRightShift'); var BigIntSubtract = require('./BigInt/subtract'); var BigIntUnsignedRightShift = require('./BigInt/unsignedRightShift'); -// https://ecma-international.org/ecma-262/12.0/#sec-applystringornumericbinaryoperator +// https://262.ecma-international.org/12.0/#sec-applystringornumericbinaryoperator -// https://ecma-international.org/ecma-262/12.0/#step-applystringornumericbinaryoperator-operations-table +// https://262.ecma-international.org/12.0/#step-applystringornumericbinaryoperator-operations-table var table = { '**': [NumberExponentiate, BigIntExponentiate], '*': [NumberMultiply, BigIntMultiply], diff --git a/2022/ArraySetLength.js b/2022/ArraySetLength.js index 08db9c2e..45d7569e 100644 --- a/2022/ArraySetLength.js +++ b/2022/ArraySetLength.js @@ -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) { diff --git a/2022/ArraySpeciesCreate.js b/2022/ArraySpeciesCreate.js index d908fa35..99b55eb2 100644 --- a/2022/ArraySpeciesCreate.js +++ b/2022/ArraySpeciesCreate.js @@ -12,7 +12,7 @@ var IsConstructor = require('./IsConstructor'); var IsIntegralNumber = require('./IsIntegralNumber'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate +// https://262.ecma-international.org/12.0/#sec-arrayspeciescreate module.exports = function ArraySpeciesCreate(originalArray, length) { if (!IsIntegralNumber(length) || length < 0) { diff --git a/2022/AsyncFromSyncIteratorContinuation.js b/2022/AsyncFromSyncIteratorContinuation.js index c1cc7a11..5618539d 100644 --- a/2022/AsyncFromSyncIteratorContinuation.js +++ b/2022/AsyncFromSyncIteratorContinuation.js @@ -16,7 +16,7 @@ var Type = require('./Type'); var $then = callBound('Promise.prototype.then', true); -// https://ecma-international.org/ecma-262/10.0/#sec-asyncfromsynciteratorcontinuation +// https://262.ecma-international.org/10.0/#sec-asyncfromsynciteratorcontinuation module.exports = function AsyncFromSyncIteratorContinuation(result) { if (Type(result) !== 'Object') { diff --git a/2022/ByteListBitwiseOp.js b/2022/ByteListBitwiseOp.js index 4e3c1f10..67f4cecb 100644 --- a/2022/ByteListBitwiseOp.js +++ b/2022/ByteListBitwiseOp.js @@ -11,7 +11,7 @@ var IsArray = require('./IsArray'); var isByteValue = require('../helpers/isByteValue'); -// https://ecma-international.org/ecma-262/12.0/#sec-bytelistbitwiseop +// https://262.ecma-international.org/12.0/#sec-bytelistbitwiseop module.exports = function ByteListBitwiseOp(op, xBytes, yBytes) { if (op !== '&' && op !== '^' && op !== '|') { diff --git a/2022/ByteListEqual.js b/2022/ByteListEqual.js index adc2378e..489ddc22 100644 --- a/2022/ByteListEqual.js +++ b/2022/ByteListEqual.js @@ -8,7 +8,7 @@ var IsArray = require('./IsArray'); var isByteValue = require('../helpers/isByteValue'); -// https://ecma-international.org/ecma-262/12.0/#sec-bytelistequal +// https://262.ecma-international.org/12.0/#sec-bytelistequal module.exports = function ByteListEqual(xBytes, yBytes) { if (!IsArray(xBytes) || !IsArray(yBytes)) { diff --git a/2022/Call.js b/2022/Call.js index 4b238c69..ccc738fc 100644 --- a/2022/Call.js +++ b/2022/Call.js @@ -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] : []; diff --git a/2022/CanonicalNumericIndexString.js b/2022/CanonicalNumericIndexString.js index feb878c0..e9f38632 100644 --- a/2022/CanonicalNumericIndexString.js +++ b/2022/CanonicalNumericIndexString.js @@ -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') { diff --git a/2022/ClearKeptObjects.js b/2022/ClearKeptObjects.js index 9397f596..50bd4a5d 100644 --- a/2022/ClearKeptObjects.js +++ b/2022/ClearKeptObjects.js @@ -3,7 +3,7 @@ var SLOT = require('internal-slot'); var keptObjects = []; -// https://ecma-international.org/ecma-262/12.0/#sec-clear-kept-objects +// https://262.ecma-international.org/12.0/#sec-clear-kept-objects module.exports = function ClearKeptObjects() { keptObjects.length = 0; diff --git a/2022/CodePointAt.js b/2022/CodePointAt.js index 7a9ac1be..e1e22905 100644 --- a/2022/CodePointAt.js +++ b/2022/CodePointAt.js @@ -13,7 +13,7 @@ var UTF16SurrogatePairToCodePoint = require('./UTF16SurrogatePairToCodePoint'); var $charAt = callBound('String.prototype.charAt'); var $charCodeAt = callBound('String.prototype.charCodeAt'); -// https://ecma-international.org/ecma-262/12.0/#sec-codepointat +// https://262.ecma-international.org/12.0/#sec-codepointat module.exports = function CodePointAt(string, position) { if (Type(string) !== 'String') { diff --git a/2022/CodePointsToString.js b/2022/CodePointsToString.js index 403126cd..6d7cd854 100644 --- a/2022/CodePointsToString.js +++ b/2022/CodePointsToString.js @@ -10,7 +10,7 @@ var IsArray = require('./IsArray'); var forEach = require('../helpers/forEach'); var isCodePoint = require('../helpers/isCodePoint'); -// https://ecma-international.org/ecma-262/12.0/#sec-codepointstostring +// https://262.ecma-international.org/12.0/#sec-codepointstostring module.exports = function CodePointsToString(text) { if (!IsArray(text)) { diff --git a/2022/CompletePropertyDescriptor.js b/2022/CompletePropertyDescriptor.js index 548bf415..e8685197 100644 --- a/2022/CompletePropertyDescriptor.js +++ b/2022/CompletePropertyDescriptor.js @@ -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 */ diff --git a/2022/CreateAsyncFromSyncIterator.js b/2022/CreateAsyncFromSyncIterator.js index 693321d5..64540dd6 100644 --- a/2022/CreateAsyncFromSyncIterator.js +++ b/2022/CreateAsyncFromSyncIterator.js @@ -101,7 +101,7 @@ var $AsyncFromSyncIteratorPrototype = GetIntrinsic('%AsyncFromSyncIteratorProtot } }; -// https://ecma-international.org/ecma-262/11.0/#sec-createasyncfromsynciterator +// https://262.ecma-international.org/11.0/#sec-createasyncfromsynciterator module.exports = function CreateAsyncFromSyncIterator(syncIteratorRecord) { assertRecord(Type, 'Iterator Record', 'syncIteratorRecord', syncIteratorRecord); diff --git a/2022/CreateDataProperty.js b/2022/CreateDataProperty.js index 02c6cd1f..a97f99b3 100644 --- a/2022/CreateDataProperty.js +++ b/2022/CreateDataProperty.js @@ -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') { diff --git a/2022/CreateDataPropertyOrThrow.js b/2022/CreateDataPropertyOrThrow.js index 2f7c410b..c40e6936 100644 --- a/2022/CreateDataPropertyOrThrow.js +++ b/2022/CreateDataPropertyOrThrow.js @@ -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') { diff --git a/2022/CreateHTML.js b/2022/CreateHTML.js index ccded1e6..ea7633da 100644 --- a/2022/CreateHTML.js +++ b/2022/CreateHTML.js @@ -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') { diff --git a/2022/CreateIterResultObject.js b/2022/CreateIterResultObject.js index eea77a51..ed86b34f 100644 --- a/2022/CreateIterResultObject.js +++ b/2022/CreateIterResultObject.js @@ -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') { diff --git a/2022/CreateMethodProperty.js b/2022/CreateMethodProperty.js index 53274a56..058c0f17 100644 --- a/2022/CreateMethodProperty.js +++ b/2022/CreateMethodProperty.js @@ -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') { diff --git a/2022/DefinePropertyOrThrow.js b/2022/DefinePropertyOrThrow.js index 26f2714b..8fe09706 100644 --- a/2022/DefinePropertyOrThrow.js +++ b/2022/DefinePropertyOrThrow.js @@ -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') { diff --git a/2022/DeletePropertyOrThrow.js b/2022/DeletePropertyOrThrow.js index 30d5e57c..581bf06e 100644 --- a/2022/DeletePropertyOrThrow.js +++ b/2022/DeletePropertyOrThrow.js @@ -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') { diff --git a/2022/FromPropertyDescriptor.js b/2022/FromPropertyDescriptor.js index e142ed58..c70f0c60 100644 --- a/2022/FromPropertyDescriptor.js +++ b/2022/FromPropertyDescriptor.js @@ -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') { diff --git a/2022/Get.js b/2022/Get.js index 29796864..09731522 100644 --- a/2022/Get.js +++ b/2022/Get.js @@ -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 diff --git a/2022/GetMatchIndexPair.js b/2022/GetMatchIndexPair.js index 14bcb612..c72d311a 100644 --- a/2022/GetMatchIndexPair.js +++ b/2022/GetMatchIndexPair.js @@ -8,7 +8,7 @@ var Type = require('./Type'); var assertRecord = require('../helpers/assertRecord'); -// https://ecma-international.org/ecma-262/13.0/#sec-getmatchindexpair +// https://262.ecma-international.org/13.0/#sec-getmatchindexpair module.exports = function GetMatchIndexPair(S, match) { if (Type(S) !== 'String') { diff --git a/2022/GetMatchString.js b/2022/GetMatchString.js index ba49306e..bfac4c43 100644 --- a/2022/GetMatchString.js +++ b/2022/GetMatchString.js @@ -9,7 +9,7 @@ var Type = require('./Type'); var assertRecord = require('../helpers/assertRecord'); -// https://ecma-international.org/ecma-262/13.0/#sec-getmatchstring +// https://262.ecma-international.org/13.0/#sec-getmatchstring module.exports = function GetMatchString(S, match) { if (Type(S) !== 'String') { diff --git a/2022/GetMethod.js b/2022/GetMethod.js index d3775178..8cecd3d0 100644 --- a/2022/GetMethod.js +++ b/2022/GetMethod.js @@ -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 diff --git a/2022/GetOwnPropertyKeys.js b/2022/GetOwnPropertyKeys.js index 40c0b367..043fd733 100644 --- a/2022/GetOwnPropertyKeys.js +++ b/2022/GetOwnPropertyKeys.js @@ -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') { diff --git a/2022/GetPromiseResolve.js b/2022/GetPromiseResolve.js index 6efc1028..f0db0261 100644 --- a/2022/GetPromiseResolve.js +++ b/2022/GetPromiseResolve.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var IsConstructor = require('./IsConstructor'); -// https://ecma-international.org/ecma-262/12.0/#sec-getpromiseresolve +// https://262.ecma-international.org/12.0/#sec-getpromiseresolve module.exports = function GetPromiseResolve(promiseConstructor) { if (!IsConstructor(promiseConstructor)) { diff --git a/2022/GetPrototypeFromConstructor.js b/2022/GetPrototypeFromConstructor.js index 25ee12f3..2762c7f5 100644 --- a/2022/GetPrototypeFromConstructor.js +++ b/2022/GetPrototypeFromConstructor.js @@ -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 diff --git a/2022/GetStringIndex.js b/2022/GetStringIndex.js index e596d438..b7101150 100644 --- a/2022/GetStringIndex.js +++ b/2022/GetStringIndex.js @@ -11,7 +11,7 @@ var Type = require('./Type'); var $indexOf = callBound('String.prototype.indexOf'); -// https://ecma-international.org/ecma-262/13.0/#sec-getstringindex +// https://262.ecma-international.org/13.0/#sec-getstringindex module.exports = function GetStringIndex(S, e) { if (Type(S) !== 'String') { diff --git a/2022/GetV.js b/2022/GetV.js index 2dcddb35..4ed5d9b4 100644 --- a/2022/GetV.js +++ b/2022/GetV.js @@ -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 diff --git a/2022/HasOwnProperty.js b/2022/HasOwnProperty.js index 04d28495..1f29ba4d 100644 --- a/2022/HasOwnProperty.js +++ b/2022/HasOwnProperty.js @@ -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') { diff --git a/2022/HasProperty.js b/2022/HasProperty.js index b341654e..91476d20 100644 --- a/2022/HasProperty.js +++ b/2022/HasProperty.js @@ -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') { diff --git a/2022/InstanceofOperator.js b/2022/InstanceofOperator.js index a3c4d237..4a34d0c2 100644 --- a/2022/InstanceofOperator.js +++ b/2022/InstanceofOperator.js @@ -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') { diff --git a/2022/Invoke.js b/2022/Invoke.js index d4214ee5..084e5e28 100644 --- a/2022/Invoke.js +++ b/2022/Invoke.js @@ -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)) { diff --git a/2022/IsAccessorDescriptor.js b/2022/IsAccessorDescriptor.js index 78563e7e..29fd416c 100644 --- a/2022/IsAccessorDescriptor.js +++ b/2022/IsAccessorDescriptor.js @@ -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') { diff --git a/2022/IsArray.js b/2022/IsArray.js index 600ffa00..c2c48c1f 100644 --- a/2022/IsArray.js +++ b/2022/IsArray.js @@ -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'); diff --git a/2022/IsConcatSpreadable.js b/2022/IsConcatSpreadable.js index 141b3341..10e1eab2 100644 --- a/2022/IsConcatSpreadable.js +++ b/2022/IsConcatSpreadable.js @@ -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') { diff --git a/2022/IsConstructor.js b/2022/IsConstructor.js index fe626e18..62ac47f6 100644 --- a/2022/IsConstructor.js +++ b/2022/IsConstructor.js @@ -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 = {}; diff --git a/2022/IsDataDescriptor.js b/2022/IsDataDescriptor.js index 00d14a60..0423d043 100644 --- a/2022/IsDataDescriptor.js +++ b/2022/IsDataDescriptor.js @@ -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') { diff --git a/2022/IsExtensible.js b/2022/IsExtensible.js index d6e36384..aa19b914 100644 --- a/2022/IsExtensible.js +++ b/2022/IsExtensible.js @@ -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) { diff --git a/2022/IsGenericDescriptor.js b/2022/IsGenericDescriptor.js index 95b1d353..d43bec2b 100644 --- a/2022/IsGenericDescriptor.js +++ b/2022/IsGenericDescriptor.js @@ -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') { diff --git a/2022/IsPromise.js b/2022/IsPromise.js index a551ae0c..411539b0 100644 --- a/2022/IsPromise.js +++ b/2022/IsPromise.js @@ -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') { diff --git a/2022/IsPropertyKey.js b/2022/IsPropertyKey.js index f43ab581..aaeb6f9b 100644 --- a/2022/IsPropertyKey.js +++ b/2022/IsPropertyKey.js @@ -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'; diff --git a/2022/IsRegExp.js b/2022/IsRegExp.js index e1054813..33d983dc 100644 --- a/2022/IsRegExp.js +++ b/2022/IsRegExp.js @@ -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') { diff --git a/2022/IteratorClose.js b/2022/IteratorClose.js index f703ea63..7c107608 100644 --- a/2022/IteratorClose.js +++ b/2022/IteratorClose.js @@ -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') { diff --git a/2022/IteratorComplete.js b/2022/IteratorComplete.js index ed4efa37..29f5f75f 100644 --- a/2022/IteratorComplete.js +++ b/2022/IteratorComplete.js @@ -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') { diff --git a/2022/IteratorNext.js b/2022/IteratorNext.js index cf80655b..d84d66ed 100644 --- a/2022/IteratorNext.js +++ b/2022/IteratorNext.js @@ -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]); diff --git a/2022/IteratorStep.js b/2022/IteratorStep.js index 41b9d1b2..85bcd95c 100644 --- a/2022/IteratorStep.js +++ b/2022/IteratorStep.js @@ -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); diff --git a/2022/IteratorValue.js b/2022/IteratorValue.js index d15d8aeb..e9b16dae 100644 --- a/2022/IteratorValue.js +++ b/2022/IteratorValue.js @@ -7,7 +7,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var Get = require('./Get'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-iteratorvalue +// https://262.ecma-international.org/6.0/#sec-iteratorvalue module.exports = function IteratorValue(iterResult) { if (Type(iterResult) !== 'Object') { diff --git a/2022/MakeDay.js b/2022/MakeDay.js index db78bbc7..161ccaf2 100644 --- a/2022/MakeDay.js +++ b/2022/MakeDay.js @@ -14,7 +14,7 @@ var MonthFromTime = require('./MonthFromTime'); var ToIntegerOrInfinity = require('./ToIntegerOrInfinity'); var YearFromTime = require('./YearFromTime'); -// https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.12 +// https://262.ecma-international.org/5.1/#sec-15.9.1.12 module.exports = function MakeDay(year, month, date) { if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { diff --git a/2022/MakeMatchIndicesIndexPairArray.js b/2022/MakeMatchIndicesIndexPairArray.js index 3424203f..962f5d8b 100644 --- a/2022/MakeMatchIndicesIndexPairArray.js +++ b/2022/MakeMatchIndicesIndexPairArray.js @@ -25,7 +25,7 @@ var isMatchRecordOrUndefined = function isMatchRecordOrUndefined(m) { var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1; -// https://ecma-international.org/ecma-262/13.0/#sec-getmatchindexpair +// https://262.ecma-international.org/13.0/#sec-getmatchindexpair module.exports = function MakeMatchIndicesIndexPairArray(S, indices, groupNames, hasGroups) { if (Type(S) !== 'String') { diff --git a/2022/MakeTime.js b/2022/MakeTime.js index 330d3bdb..73cc795e 100644 --- a/2022/MakeTime.js +++ b/2022/MakeTime.js @@ -8,7 +8,7 @@ var msPerHour = timeConstants.msPerHour; var ToIntegerOrInfinity = require('./ToIntegerOrInfinity'); -// https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.11 +// https://262.ecma-international.org/5.1/#sec-15.9.1.11 module.exports = function MakeTime(hour, min, sec, ms) { if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { diff --git a/2022/OrdinaryDefineOwnProperty.js b/2022/OrdinaryDefineOwnProperty.js index 34f029f7..70cd4fe5 100644 --- a/2022/OrdinaryDefineOwnProperty.js +++ b/2022/OrdinaryDefineOwnProperty.js @@ -17,7 +17,7 @@ var SameValue = require('./SameValue'); var Type = require('./Type'); var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarydefineownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty module.exports = function OrdinaryDefineOwnProperty(O, P, Desc) { if (Type(O) !== 'Object') { diff --git a/2022/OrdinaryGetOwnProperty.js b/2022/OrdinaryGetOwnProperty.js index fd8035ac..c23abe11 100644 --- a/2022/OrdinaryGetOwnProperty.js +++ b/2022/OrdinaryGetOwnProperty.js @@ -17,7 +17,7 @@ var IsRegExp = require('./IsRegExp'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty +// https://262.ecma-international.org/6.0/#sec-ordinarygetownproperty module.exports = function OrdinaryGetOwnProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2022/OrdinaryHasInstance.js b/2022/OrdinaryHasInstance.js index 85a240ca..5804f708 100644 --- a/2022/OrdinaryHasInstance.js +++ b/2022/OrdinaryHasInstance.js @@ -8,7 +8,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-ordinaryhasinstance +// https://262.ecma-international.org/6.0/#sec-ordinaryhasinstance module.exports = function OrdinaryHasInstance(C, O) { if (IsCallable(C) === false) { diff --git a/2022/OrdinaryHasProperty.js b/2022/OrdinaryHasProperty.js index dd09ca3b..27e7da33 100644 --- a/2022/OrdinaryHasProperty.js +++ b/2022/OrdinaryHasProperty.js @@ -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-ordinaryhasproperty +// https://262.ecma-international.org/6.0/#sec-ordinaryhasproperty module.exports = function OrdinaryHasProperty(O, P) { if (Type(O) !== 'Object') { diff --git a/2022/QuoteJSONString.js b/2022/QuoteJSONString.js index 0deebecf..e3851480 100644 --- a/2022/QuoteJSONString.js +++ b/2022/QuoteJSONString.js @@ -18,7 +18,7 @@ var UTF16EncodeCodePoint = require('./UTF16EncodeCodePoint'); var has = require('has'); -// https://ecma-international.org/ecma-262/12.0/#sec-quotejsonstring +// https://262.ecma-international.org/12.0/#sec-quotejsonstring var escapes = { '\u0008': '\\b', diff --git a/2022/RegExpExec.js b/2022/RegExpExec.js index 29fee172..cf152074 100644 --- a/2022/RegExpExec.js +++ b/2022/RegExpExec.js @@ -11,7 +11,7 @@ var Get = require('./Get'); var IsCallable = require('./IsCallable'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-regexpexec +// https://262.ecma-international.org/6.0/#sec-regexpexec module.exports = function RegExpExec(R, S) { if (Type(R) !== 'Object') { diff --git a/2022/SameValueZero.js b/2022/SameValueZero.js index bf1a1486..3e2851b5 100644 --- a/2022/SameValueZero.js +++ b/2022/SameValueZero.js @@ -2,7 +2,7 @@ var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-samevaluezero +// https://262.ecma-international.org/6.0/#sec-samevaluezero module.exports = function SameValueZero(x, y) { return (x === y) || ($isNaN(x) && $isNaN(y)); diff --git a/2022/Set.js b/2022/Set.js index 09714988..96970313 100644 --- a/2022/Set.js +++ b/2022/Set.js @@ -18,7 +18,7 @@ var noThrowOnStrictViolation = (function () { } }()); -// https://ecma-international.org/ecma-262/6.0/#sec-set-o-p-v-throw +// https://262.ecma-international.org/6.0/#sec-set-o-p-v-throw module.exports = function Set(O, P, V, Throw) { if (Type(O) !== 'Object') { diff --git a/2022/SetFunctionLength.js b/2022/SetFunctionLength.js index 8c06b242..148934b1 100644 --- a/2022/SetFunctionLength.js +++ b/2022/SetFunctionLength.js @@ -10,7 +10,7 @@ var IsExtensible = require('./IsExtensible'); var IsIntegralNumber = require('./IsIntegralNumber'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/12.0/#sec-setfunctionlength +// https://262.ecma-international.org/12.0/#sec-setfunctionlength module.exports = function SetFunctionLength(F, length) { if (typeof F !== 'function' || !IsExtensible(F) || HasOwnProperty(F, 'length')) { diff --git a/2022/SetFunctionName.js b/2022/SetFunctionName.js index 03ec2227..f7fb0a9a 100644 --- a/2022/SetFunctionName.js +++ b/2022/SetFunctionName.js @@ -12,7 +12,7 @@ var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); var IsExtensible = require('./IsExtensible'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setfunctionname +// https://262.ecma-international.org/6.0/#sec-setfunctionname module.exports = function SetFunctionName(F, name) { if (typeof F !== 'function') { diff --git a/2022/SetIntegrityLevel.js b/2022/SetIntegrityLevel.js index 546f3e74..aaef85a0 100644 --- a/2022/SetIntegrityLevel.js +++ b/2022/SetIntegrityLevel.js @@ -15,7 +15,7 @@ var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-setintegritylevel +// https://262.ecma-international.org/6.0/#sec-setintegritylevel module.exports = function SetIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2022/SortIndexedProperties.js b/2022/SortIndexedProperties.js index 3a6b68d9..42727573 100644 --- a/2022/SortIndexedProperties.js +++ b/2022/SortIndexedProperties.js @@ -18,7 +18,7 @@ var isAbstractClosure = require('../helpers/isAbstractClosure'); var $push = callBound('Array.prototype.push'); var $sort = callBound('Array.prototype.sort'); -// https://ecma-international.org/ecma-262/13.0/#sec-sortindexedproperties +// https://262.ecma-international.org/13.0/#sec-sortindexedproperties module.exports = function SortIndexedProperties(obj, len, SortCompare) { if (Type(obj) !== 'Object') { diff --git a/2022/SpeciesConstructor.js b/2022/SpeciesConstructor.js index 491eb9b8..1937b9c9 100644 --- a/2022/SpeciesConstructor.js +++ b/2022/SpeciesConstructor.js @@ -8,7 +8,7 @@ var $TypeError = GetIntrinsic('%TypeError%'); var IsConstructor = require('./IsConstructor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor +// https://262.ecma-international.org/6.0/#sec-speciesconstructor module.exports = function SpeciesConstructor(O, defaultConstructor) { if (Type(O) !== 'Object') { diff --git a/2022/StringGetOwnProperty.js b/2022/StringGetOwnProperty.js index ecffb0b7..579bb955 100644 --- a/2022/StringGetOwnProperty.js +++ b/2022/StringGetOwnProperty.js @@ -15,7 +15,7 @@ var Type = require('./Type'); var isNegativeZero = require('is-negative-zero'); -// https://ecma-international.org/ecma-262/12.0/#sec-stringgetownproperty +// https://262.ecma-international.org/12.0/#sec-stringgetownproperty module.exports = function StringGetOwnProperty(S, P) { var str; diff --git a/2022/StringIndexOf.js b/2022/StringIndexOf.js index 371d5aa3..ad1ce750 100644 --- a/2022/StringIndexOf.js +++ b/2022/StringIndexOf.js @@ -10,7 +10,7 @@ var Type = require('./Type'); var $slice = callBound('String.prototype.slice'); -// https://ecma-international.org/ecma-262/12.0/#sec-stringindexof +// https://262.ecma-international.org/12.0/#sec-stringindexof module.exports = function StringIndexOf(string, searchValue, fromIndex) { if (Type(string) !== 'String') { diff --git a/2022/StringToCodePoints.js b/2022/StringToCodePoints.js index 336bd06f..f503ce1b 100644 --- a/2022/StringToCodePoints.js +++ b/2022/StringToCodePoints.js @@ -11,7 +11,7 @@ var $push = callBound('Array.prototype.push'); var CodePointAt = require('./CodePointAt'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/12.0/#sec-stringtocodepoints +// https://262.ecma-international.org/12.0/#sec-stringtocodepoints module.exports = function StringToCodePoints(string) { if (Type(string) !== 'String') { diff --git a/2022/StringToNumber.js b/2022/StringToNumber.js index 50ab5e6d..9ea786b1 100644 --- a/2022/StringToNumber.js +++ b/2022/StringToNumber.js @@ -33,7 +33,7 @@ var $trim = function (value) { var Type = require('./Type'); -// https://ecma-international.org/ecma-262/13.0/#sec-stringtonumber +// https://262.ecma-international.org/13.0/#sec-stringtonumber module.exports = function StringToNumber(argument) { if (Type(argument) !== 'String') { diff --git a/2022/SymbolDescriptiveString.js b/2022/SymbolDescriptiveString.js index 1efd1316..89c253ff 100644 --- a/2022/SymbolDescriptiveString.js +++ b/2022/SymbolDescriptiveString.js @@ -10,7 +10,7 @@ var $SymbolToString = callBound('Symbol.prototype.toString', true); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-symboldescriptivestring +// https://262.ecma-international.org/6.0/#sec-symboldescriptivestring module.exports = function SymbolDescriptiveString(sym) { if (Type(sym) !== 'Symbol') { diff --git a/2022/TestIntegrityLevel.js b/2022/TestIntegrityLevel.js index 7f95a6e1..7cefab70 100644 --- a/2022/TestIntegrityLevel.js +++ b/2022/TestIntegrityLevel.js @@ -13,7 +13,7 @@ var IsExtensible = require('./IsExtensible'); var ToPropertyDescriptor = require('./ToPropertyDescriptor'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-testintegritylevel +// https://262.ecma-international.org/6.0/#sec-testintegritylevel module.exports = function TestIntegrityLevel(O, level) { if (Type(O) !== 'Object') { diff --git a/2022/ToDateString.js b/2022/ToDateString.js index e636a9ba..068ecfc6 100644 --- a/2022/ToDateString.js +++ b/2022/ToDateString.js @@ -9,7 +9,7 @@ var $isNaN = require('../helpers/isNaN'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-todatestring +// https://262.ecma-international.org/6.0/#sec-todatestring module.exports = function ToDateString(tv) { if (Type(tv) !== 'Number') { diff --git a/2022/ToInt16.js b/2022/ToInt16.js index cb8e7934..21694bde 100644 --- a/2022/ToInt16.js +++ b/2022/ToInt16.js @@ -2,7 +2,7 @@ var ToUint16 = require('./ToUint16'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint16 +// https://262.ecma-international.org/6.0/#sec-toint16 module.exports = function ToInt16(argument) { var int16bit = ToUint16(argument); diff --git a/2022/ToInt8.js b/2022/ToInt8.js index bc452d82..e223b6c1 100644 --- a/2022/ToInt8.js +++ b/2022/ToInt8.js @@ -2,7 +2,7 @@ var ToUint8 = require('./ToUint8'); -// https://ecma-international.org/ecma-262/6.0/#sec-toint8 +// https://262.ecma-international.org/6.0/#sec-toint8 module.exports = function ToInt8(argument) { var int8bit = ToUint8(argument); diff --git a/2022/ToNumber.js b/2022/ToNumber.js index ebee3262..c471ed42 100644 --- a/2022/ToNumber.js +++ b/2022/ToNumber.js @@ -9,7 +9,7 @@ var isPrimitive = require('../helpers/isPrimitive'); var ToPrimitive = require('./ToPrimitive'); var StringToNumber = require('./StringToNumber'); -// https://ecma-international.org/ecma-262/13.0/#sec-tonumber +// https://262.ecma-international.org/13.0/#sec-tonumber module.exports = function ToNumber(argument) { var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number); diff --git a/2022/ToObject.js b/2022/ToObject.js index cb26bac0..26a007ce 100644 --- a/2022/ToObject.js +++ b/2022/ToObject.js @@ -6,7 +6,7 @@ var $Object = GetIntrinsic('%Object%'); var RequireObjectCoercible = require('./RequireObjectCoercible'); -// https://ecma-international.org/ecma-262/6.0/#sec-toobject +// https://262.ecma-international.org/6.0/#sec-toobject module.exports = function ToObject(value) { RequireObjectCoercible(value); diff --git a/2022/ToPrimitive.js b/2022/ToPrimitive.js index 0fbe9b80..56bcf1aa 100644 --- a/2022/ToPrimitive.js +++ b/2022/ToPrimitive.js @@ -2,7 +2,7 @@ var toPrimitive = require('es-to-primitive/es2015'); -// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive +// https://262.ecma-international.org/6.0/#sec-toprimitive module.exports = function ToPrimitive(input) { if (arguments.length > 1) { diff --git a/2022/ToPropertyKey.js b/2022/ToPropertyKey.js index fc1bf7d8..e363cd93 100644 --- a/2022/ToPropertyKey.js +++ b/2022/ToPropertyKey.js @@ -7,7 +7,7 @@ var $String = GetIntrinsic('%String%'); var ToPrimitive = require('./ToPrimitive'); var ToString = require('./ToString'); -// https://ecma-international.org/ecma-262/6.0/#sec-topropertykey +// https://262.ecma-international.org/6.0/#sec-topropertykey module.exports = function ToPropertyKey(argument) { var key = ToPrimitive(argument, $String); diff --git a/2022/ToString.js b/2022/ToString.js index 4d494e1e..d86aed4c 100644 --- a/2022/ToString.js +++ b/2022/ToString.js @@ -5,7 +5,7 @@ var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); var $TypeError = GetIntrinsic('%TypeError%'); -// https://ecma-international.org/ecma-262/6.0/#sec-tostring +// https://262.ecma-international.org/6.0/#sec-tostring module.exports = function ToString(argument) { if (typeof argument === 'symbol') { diff --git a/2022/ToUint8.js b/2022/ToUint8.js index 2dfd97cb..6e4e4b5a 100644 --- a/2022/ToUint8.js +++ b/2022/ToUint8.js @@ -10,7 +10,7 @@ var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8 +// https://262.ecma-international.org/6.0/#sec-touint8 module.exports = function ToUint8(argument) { var number = ToNumber(argument); diff --git a/2022/ToUint8Clamp.js b/2022/ToUint8Clamp.js index b0b8ce8e..e09ab283 100644 --- a/2022/ToUint8Clamp.js +++ b/2022/ToUint8Clamp.js @@ -5,7 +5,7 @@ var floor = require('./floor'); var $isNaN = require('../helpers/isNaN'); -// https://ecma-international.org/ecma-262/6.0/#sec-touint8clamp +// https://262.ecma-international.org/6.0/#sec-touint8clamp module.exports = function ToUint8Clamp(argument) { var number = ToNumber(argument); diff --git a/2022/ToZeroPaddedDecimalString.js b/2022/ToZeroPaddedDecimalString.js index cc141fd9..cb884e51 100644 --- a/2022/ToZeroPaddedDecimalString.js +++ b/2022/ToZeroPaddedDecimalString.js @@ -8,7 +8,7 @@ var $RangeError = GetIntrinsic('%RangeError%'); var IsIntegralNumber = require('./IsIntegralNumber'); var StringPad = require('./StringPad'); -// https://ecma-international.org/ecma-262/13.0/#sec-tozeropaddeddecimalstring +// https://262.ecma-international.org/13.0/#sec-tozeropaddeddecimalstring module.exports = function ToZeroPaddedDecimalString(n, minLength) { if (!IsIntegralNumber(n) || n < 0) { diff --git a/2022/UTF16EncodeCodePoint.js b/2022/UTF16EncodeCodePoint.js index 0c7fb11e..0af67bc1 100644 --- a/2022/UTF16EncodeCodePoint.js +++ b/2022/UTF16EncodeCodePoint.js @@ -10,7 +10,7 @@ var modulo = require('./modulo'); var isCodePoint = require('../helpers/isCodePoint'); -// https://ecma-international.org/ecma-262/12.0/#sec-utf16encoding +// https://262.ecma-international.org/12.0/#sec-utf16encoding module.exports = function UTF16EncodeCodePoint(cp) { if (!isCodePoint(cp)) { diff --git a/2022/WeakRefDeref.js b/2022/WeakRefDeref.js index 66d2d172..6b9921f3 100644 --- a/2022/WeakRefDeref.js +++ b/2022/WeakRefDeref.js @@ -10,7 +10,7 @@ var isWeakRef = require('is-weakref'); var AddToKeptObjects = require('./AddToKeptObjects'); -// https://ecma-international.org/ecma-262/12.0/#sec-weakrefderef +// https://262.ecma-international.org/12.0/#sec-weakrefderef module.exports = function WeakRefDeref(weakRef) { if (!isWeakRef(weakRef)) { diff --git a/2022/thisBooleanValue.js b/2022/thisBooleanValue.js index 27075b9c..e93a28ce 100644 --- a/2022/thisBooleanValue.js +++ b/2022/thisBooleanValue.js @@ -4,7 +4,7 @@ var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf' var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-boolean-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object module.exports = function thisBooleanValue(value) { if (Type(value) === 'Boolean') { diff --git a/2022/thisNumberValue.js b/2022/thisNumberValue.js index 92968dcd..03580df2 100644 --- a/2022/thisNumberValue.js +++ b/2022/thisNumberValue.js @@ -6,7 +6,7 @@ var Type = require('./Type'); var $NumberValueOf = callBound('Number.prototype.valueOf'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-number-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-number-prototype-object module.exports = function thisNumberValue(value) { if (Type(value) === 'Number') { diff --git a/2022/thisStringValue.js b/2022/thisStringValue.js index 8e4274d8..c7bf3da7 100644 --- a/2022/thisStringValue.js +++ b/2022/thisStringValue.js @@ -4,7 +4,7 @@ var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf'); var Type = require('./Type'); -// https://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-string-prototype-object +// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object module.exports = function thisStringValue(value) { if (Type(value) === 'String') {