in

`prop in obj`

JSstatementexpressionoperatorrelational ⟩ in

// ⭐️ check if `prop` is property of `obj` (including inherited)
prop in obj        // ⭐️ prop: string-convertable expression

🌟 table of operators

Last updated