Here's a fun challenge: in , how do you determine whether a given value is an object literal (or equivalently plain object)?

@joepie91 Pure instinct that I bet some Javascript lawyer will "well actually" me on, but:

x.__proto__ === {}.__proto__

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.