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

@@ -7,21 +7,21 @@
* @returns {boolean} Returns `true` if `object` conforms, else `false`.
*/
function baseConformsTo(object, source, props) {
let length = props.length;
let length = props.length
if (object == null) {
return !length;
return !length
}
object = Object(object);
object = Object(object)
while (length--) {
const key = props[length];
const predicate = source[key];
const value = object[key];
const key = props[length]
const predicate = source[key]
const value = object[key]
if ((value === undefined && !(key in object)) || !predicate(value)) {
return false;
return false
}
}
return true;
return true
}
export default baseConformsTo;
export default baseConformsTo