Object: Control Structure
Divyaansh Jaiswal

Very informative post. I would like to add a bit that you Don’t need conditional operator, it can be done like this:- obj[favDrink] || obj[‘default’]

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.