Closed cristian-smocot closed 8 years ago
This report is invalid.
It’s Object.keys
, not Object.prototype.keys
.
Try this:
var keys = Object.keys({a:1, b:2, c:3});
Sorry! My mistake. I realize now I read the documentation badly.
So yeah, the correct form is var keys = Object.keys({a:1, b:2, c:3});
Object.keys()
spits:TypeError: undefined is not a function
Version: 0.33.0 Sample test code: