mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Remove semicolons.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user