Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -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