Skip to content

Commit

Permalink
[meta] update spec URL comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 4, 2024
1 parent cd13362 commit ceacdd4
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion 2021/UTF16SurrogatePairToCodePoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var $fromCharCode = GetIntrinsic('%String.fromCharCode%');
var isLeadingSurrogate = require('../helpers/isLeadingSurrogate');
var isTrailingSurrogate = require('../helpers/isTrailingSurrogate');

// https://tc39.es/ecma262/2020/#sec-utf16decodesurrogatepair
// https://262.ecma-international.org/12.0/#sec-utf16decodesurrogatepair

module.exports = function UTF16SurrogatePairToCodePoint(lead, trail) {
if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) {
Expand Down
2 changes: 1 addition & 1 deletion 2022/UTF16SurrogatePairToCodePoint.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 2023/UTF16SurrogatePairToCodePoint.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 2024/AddValueToKeyedGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var isKeyedGroup = function (group) {
&& IsArray(group['[[Elements]]']);
};

// https://tc39.es/ecma262/#sec-add-value-to-keyed-group
// https://262.ecma-international.org/15.0/#sec-add-value-to-keyed-group

module.exports = function AddValueToKeyedGroup(groups, key, value) {
if (!IsArray(groups) || (groups.length > 0 && !every(groups, isKeyedGroup))) {
Expand Down
2 changes: 1 addition & 1 deletion 2024/ArrayBufferByteLength.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var $TypeError = require('es-errors/type');

// https://tc39.es/ecma262/#sec-arraybufferbytelength
// https://262.ecma-international.org/15.0/#sec-arraybufferbytelength

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

Expand Down
2 changes: 1 addition & 1 deletion 2024/GetArrayBufferMaxByteLengthOption.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var Get = require('./Get');
var ToIndex = require('./ToIndex');
var Type = require('./Type');

// https://tc39.es/ecma262/#sec-getarraybuffermaxbytelengthoption
// https://262.ecma-international.org/15.0/#sec-getarraybuffermaxbytelengthoption

module.exports = function GetArrayBufferMaxByteLengthOption(options) {
if (Type(options) !== 'Object') {
Expand Down
2 changes: 1 addition & 1 deletion 2024/GroupBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var ToPropertyKey = require('./ToPropertyKey');
var isNegativeZero = require('../helpers/isNegativeZero');
var maxSafeInteger = require('../helpers/maxSafeInteger');

// https://tc39.es/ecma262/#sec-groupby
// https://262.ecma-international.org/15.0/#sec-groupby

module.exports = function GroupBy(items, callbackfn, keyCoercion) {
if (keyCoercion !== 'PROPERTY' && keyCoercion !== 'ZERO') {
Expand Down
2 changes: 1 addition & 1 deletion 2024/IsTypedArrayOutOfBounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var typedArrayBuffer = require('typed-array-buffer');
var typedArrayByteOffset = require('typed-array-byte-offset');
var typedArrayLength = require('typed-array-length');

// https://tc39.es/ecma262/#sec-istypedarrayoutofbounds
// https://262.ecma-international.org/15.0/#sec-istypedarrayoutofbounds

module.exports = function IsTypedArrayOutOfBounds(taRecord) {
if (!isTypedArrayWithBufferWitnessRecord(taRecord)) {
Expand Down
2 changes: 1 addition & 1 deletion 2024/MakeTypedArrayWithBufferWitnessRecord.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var IsDetachedBuffer = require('./IsDetachedBuffer');
var isTypedArray = require('is-typed-array');
var typedArrayBuffer = require('typed-array-buffer');

// https://tc39.es/ecma262/#sec-maketypedarraywithbufferwitnessrecord
// https://262.ecma-international.org/15.0/#sec-maketypedarraywithbufferwitnessrecord

module.exports = function MakeTypedArrayWithBufferWitnessRecord(obj, order) {
if (!isTypedArray(obj)) {
Expand Down
2 changes: 1 addition & 1 deletion 2024/TypedArrayByteLength.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var isTypedArrayWithBufferWitnessRecord = require('../helpers/records/typed-arra

var typedArrayByteLength = require('typed-array-byte-length');

// https://tc39.es/ecma262/#sec-typedarraybytelength
// https://262.ecma-international.org/15.0/#sec-typedarraybytelength

module.exports = function TypedArrayByteLength(taRecord) {
if (!isTypedArrayWithBufferWitnessRecord(taRecord)) {
Expand Down
2 changes: 1 addition & 1 deletion 2024/UTF16SurrogatePairToCodePoint.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ceacdd4

Please sign in to comment.