A proposal to introduce new assignment forms for ECMAScript object literals
const obj = {
a: undefined,
b?: undefined
}
Object.hasOwn(obj, 'a') // true
Object.hasOwn(obj, 'b') // false
A proposal to introduce new assignment forms for ECMAScript object literals
A proposal to introduce new assignment forms for ECMAScript object literals
const obj = {
a: undefined,
b?: undefined
}
Object.hasOwn(obj, 'a') // true
Object.hasOwn(obj, 'b') // false
A proposal to introduce new assignment forms for ECMAScript object literals
MIT License