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
caused breakage within Google

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201240108
  • Loading branch information
dobrevad authored and brad4d committed Jun 20, 2018
1 parent 8061863 commit f2d9c31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions externs/es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -1264,14 +1264,6 @@ 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 f2d9c31

Please sign in to comment.