Template Upload
This commit is contained in:
9
node_modules/acorn/src/util.js
generated
vendored
Normal file
9
node_modules/acorn/src/util.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
export function isArray(obj) {
|
||||
return Object.prototype.toString.call(obj) === "[object Array]"
|
||||
}
|
||||
|
||||
// Checks if an object has a property.
|
||||
|
||||
export function has(obj, propName) {
|
||||
return Object.prototype.hasOwnProperty.call(obj, propName)
|
||||
}
|
Reference in New Issue
Block a user