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
Mukhil Padmanabhan -
Arindam Majumder -
Armstrong Olusoji -
Shehan Chanuka -
Top comments (0)