diff options
Diffstat (limited to 'node_modules/acorn/src/util.js')
-rw-r--r-- | node_modules/acorn/src/util.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/node_modules/acorn/src/util.js b/node_modules/acorn/src/util.js deleted file mode 100644 index 9f548a140..000000000 --- a/node_modules/acorn/src/util.js +++ /dev/null @@ -1,11 +0,0 @@ -const {hasOwnProperty, toString} = Object.prototype - -// Checks if an object has a property. - -export function has(obj, propName) { - return hasOwnProperty.call(obj, propName) -} - -export const isArray = Array.isArray || ((obj) => ( - toString.call(obj) === "[object Array]" -)) |