Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I'm getting .keys is not a function on every object, using firefox 32beta but also with earlier firefox versions. Unsure what's is the cause?
.keys is not a function
var controls={'txt':{},'btn':{}}; alert(controls.keys());
Object.keys(someobject)
someobject.keys()
If you want Object.keys(), you should use Object.keys(controls). See the MDN link for details.
Object.keys(controls)
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.
Object.keys(someobject)
, notsomeobject.keys()
Object.keys(someobject)
- is Yoda master a TC39 member of?