File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
javascript/ql/test/query-tests/NodeJS/DubiousImport Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -333,15 +333,6 @@ Array.prototype.push = function(var_args) {};
333
333
*/
334
334
Array . prototype . reverse = function ( ) { } ;
335
335
336
- /**
337
- * Returns a new array with the elements in reversed order.
338
- *
339
- * @this {{length: number}}
340
- * @template T
341
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toReversed
342
- */
343
- Array . prototype . toReversed = function ( ) { } ;
344
-
345
336
/**
346
337
* Removes the first element from an array and returns that element. This
347
338
* method changes the length of the array.
@@ -380,18 +371,6 @@ Array.prototype.slice = function(opt_begin, opt_end) {};
380
371
*/
381
372
Array . prototype . sort = function ( opt_compareFunction ) { } ;
382
373
383
- /**
384
- * Returns a new array with the elements sorted.
385
- *
386
- * @param {function(T,T):number= } opt_compareFunction Specifies a function that
387
- * defines the sort order. If omitted, the array elements are converted to strings,
388
- * then sorted according to each character's Unicode code point value.
389
- * @this {{length: number}|Array. }
390
- * @template T
391
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toSorted
392
- */
393
- Array . prototype . toSorted = function ( opt_compareFunction ) { } ;
394
-
395
374
/**
396
375
* Changes the content of an array, adding new elements while removing old
397
376
* elements.
You can’t perform that action at this time.
0 commit comments