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 @@
import isStrictComparable from './isStrictComparable.js';
import keys from '../keys.js';
import isStrictComparable from './isStrictComparable.js'
import keys from '../keys.js'
/**
* Gets the property names, values, and compare flags of `object`.
@@ -9,15 +9,15 @@ import keys from '../keys.js';
* @returns {Array} Returns the match data of `object`.
*/
function getMatchData(object) {
const result = keys(object);
let length = result.length;
const result = keys(object)
let length = result.length
while (length--) {
const key = result[length];
const value = object[key];
result[length] = [key, value, isStrictComparable(value)];
const key = result[length]
const value = object[key]
result[length] = [key, value, isStrictComparable(value)]
}
return result;
return result
}
export default getMatchData;
export default getMatchData