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

Unified Diff: Source/devtools/front_end/utilities.js

Issue 135973010: Revert of DevTools: Fix console.log for arrays in some corner cases. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 11 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
« no previous file with comments | « Source/devtools/front_end/ConsoleMessage.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/utilities.js
diff --git a/Source/devtools/front_end/utilities.js b/Source/devtools/front_end/utilities.js
index 77d610bc267b05f9f9d95e23f7fa9baedfd1f144..3fa72bf1c294b2e07b79556f32be90b74dc6f15c 100644
--- a/Source/devtools/front_end/utilities.js
+++ b/Source/devtools/front_end/utilities.js
@@ -287,18 +287,6 @@ String.naturalOrderComparator = function(a, b)
}
/**
- * @param {string} name
- * @param {number=} arrayLength
- * @return {boolean}
- */
-String.isArrayIndexPropertyName = function(name, arrayLength)
-{
- // Array index check according to the ES5-15.4.
- var index = name >>> 0;
- return String(index) === name && index !== 0xffffffff && (typeof arrayLength === "undefined" || index < arrayLength);
-}
-
-/**
* @param {number} num
* @param {number} min
* @param {number} max
« no previous file with comments | « Source/devtools/front_end/ConsoleMessage.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698