scrimba
Frontend Career Path
Essential JavaScript concepts
JS Mini Projects
Short-circuiting with AND (&&)
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Short-circuiting with AND (&&)
AboutCommentsNotes
Short-circuiting with AND (&&)
Expand for more info
index.js
run
preview
console
const user = {
userName: 'Tom',
role: 'admin',
}
Console
true
,
/index.html
-2:47