mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
* @returns {Array} Returns the array of property names.
|
||||
*/
|
||||
function nativeKeysIn(object) {
|
||||
var result = [];
|
||||
const result = [];
|
||||
if (object != null) {
|
||||
for (var key in Object(object)) {
|
||||
for (const key in Object(object)) {
|
||||
result.push(key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user