mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/** Used for built-in method references. */
|
||||
const objectProto = Object.prototype;
|
||||
const objectProto = Object.prototype
|
||||
|
||||
/**
|
||||
* Checks if `value` is likely a prototype object.
|
||||
@@ -9,10 +9,10 @@ const objectProto = Object.prototype;
|
||||
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
||||
*/
|
||||
function isPrototype(value) {
|
||||
const Ctor = value && value.constructor;
|
||||
const proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
|
||||
const Ctor = value && value.constructor
|
||||
const proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto
|
||||
|
||||
return value === proto;
|
||||
return value === proto
|
||||
}
|
||||
|
||||
export default isPrototype;
|
||||
export default isPrototype
|
||||
|
||||
Reference in New Issue
Block a user