refactor: Move URL to op_crates/web (#7544)

This commit is contained in:
Bartek Iwańczuk 2020-09-17 19:13:20 +02:00 committed by GitHub
parent a6f4559174
commit 6453cb7567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 75 additions and 83 deletions

View file

@ -41,19 +41,6 @@
return Object.prototype.hasOwnProperty.call(obj, v);
}
/** Returns whether o is iterable. */
function isIterable(
o,
) {
// checks for null and undefined
if (o == null) {
return false;
}
return (
typeof (o)[Symbol.iterator] === "function"
);
}
const objectCloneMemo = new WeakMap();
function cloneArrayBuffer(
@ -192,7 +179,6 @@
requiredArguments,
immutableDefine,
hasOwnProperty,
isIterable,
cloneValue,
defineEnumerableProps,
getHeaderValueParams,