Index: tracing/tracing/base/iteration_helpers.html |
diff --git a/tracing/tracing/base/iteration_helpers.html b/tracing/tracing/base/iteration_helpers.html |
index 18e5eb8e7a638cdec5f6191a3252cb63bca5157d..fb428b7fd5df9e8b6b191e48acd0a093a563dc1d 100644 |
--- a/tracing/tracing/base/iteration_helpers.html |
+++ b/tracing/tracing/base/iteration_helpers.html |
@@ -11,25 +11,6 @@ found in the LICENSE file. |
'use strict'; |
tr.exportTo('tr.b', function() { |
- /** |
- * Converts any object which is either (a) an iterable, or (b) an |
- * "array-ish" object (has length property and can be indexed into) |
- * into an array. |
- */ |
- function asArray(x) { |
- const values = []; |
- if (x[Symbol.iterator]) { |
- for (const value of x) { |
- values.push(value); |
- } |
- } else { |
- for (let i = 0; i < x.length; i++) { |
- values.push(x[i]); |
- } |
- } |
- return values; |
- } |
- |
/** |
* Returns the only element in the iterable. If the iterable is empty or has |
* more than one element, an error is thrown. |
@@ -343,7 +324,6 @@ tr.exportTo('tr.b', function() { |
} |
return { |
- asArray, |
concatenateObjects, |
compareArrays, |
comparePossiblyUndefinedValues, |