Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: third_party/WebKit/Source/devtools/front_end/externs.js

Issue 1765733002: [DevTools] Remove Array.from method from utilities.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/externs.js
diff --git a/third_party/WebKit/Source/devtools/front_end/externs.js b/third_party/WebKit/Source/devtools/front_end/externs.js
index 7906eca063b7b73475d2adcc55d24ac2888abf60..9f2635c5b433abca4a94d275e18a49d24ec12224 100644
--- a/third_party/WebKit/Source/devtools/front_end/externs.js
+++ b/third_party/WebKit/Source/devtools/front_end/externs.js
@@ -174,6 +174,16 @@ Array.prototype.intersectOrdered = function(array, comparator) {}
*/
Array.prototype.mergeOrdered = function(array, comparator) {}
+/**
+ * @param {string|!IArrayLike<T>|!Iterable<T>} arrayLike
+ * @param {function(this:S, (string|T), number,
+ * (string|!IArrayLike<T>|!Iterable<T>)): R=} opt_mapFn
+ * @param {S=} opt_this
+ * @return {!Array<R>}
+ * @template T,S,R
+ */
+Array.from = function(arrayLike, opt_mapFn, opt_this) {};
+
// File System API
/**
* @constructor

Powered by Google App Engine
This is Rietveld 408576698