11 lines
191 B
JavaScript
11 lines
191 B
JavaScript
|
|
||
|
Object.keys = Object.keys || function(o) {
|
||
|
var result = [];
|
||
|
for(var name in o) {
|
||
|
if (o.hasOwnProperty(name))
|
||
|
result.push(name);
|
||
|
}
|
||
|
return result;
|
||
|
};
|
||
|
|