Answers for "js short circuit"

2

js short circuit

var person = {
  name: 'Jack',
  age: 34,
  job: 'teacher'
}
console.log(person.job || 'unemployed');
// teacher
Posted by: Guest on July-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language