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) {};
333333 */
334334Array . prototype . reverse = function ( ) { } ;
335335
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-
345336/**
346337 * Removes the first element from an array and returns that element. This
347338 * method changes the length of the array.
@@ -380,18 +371,6 @@ Array.prototype.slice = function(opt_begin, opt_end) {};
380371 */
381372Array . prototype . sort = function ( opt_compareFunction ) { } ;
382373
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-
395374/**
396375 * Changes the content of an array, adding new elements while removing old
397376 * elements.
You can’t perform that action at this time.
0 commit comments