Skip to content

Commit

Permalink
Rollback "Add Array.prototype.values to the standard externs."
Browse files Browse the repository at this point in the history
Broke internal Google projects.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201700738
  • Loading branch information
concavelenz authored and brad4d committed Jun 25, 2018
1 parent e3b338a commit a80acd8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions externs/es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,14 @@ Array.from = function(arrayLike, opt_mapFn, opt_this) {};
Array.prototype.keys;


/**
* @return {!IteratorIterable<T>}
* @nosideeffects
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/values
*/
Array.prototype.values;


/**
* @return {!IteratorIterable<!Array<number|T>>} Iterator of [key, value] pairs.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources.json

Large diffs are not rendered by default.

0 comments on commit a80acd8

Please sign in to comment.