const obj = {a: 1, b: 2}
const val1 = obj.c;
const val2 = obj.c || "default"; // fallback
console.log(val1)
console.log(val2)
For further actions, you may consider blocking this person and/or reporting abuse
const obj = {a: 1, b: 2}
const val1 = obj.c;
const val2 = obj.c || "default"; // fallback
console.log(val1)
console.log(val2)
For further actions, you may consider blocking this person and/or reporting abuse
sharathchandark -
Emīls Oto Leimanis -
Inspius -
shadowy-pycoder -
Top comments (0)