Skip to content
menu
arrow_back
CJ
Coding With Joseph
search
light_mode
Light
desktop_windows
System
dark_mode
Dark
bolt
15
free / day
Sign in
Create account
←
Back to Code Walkthrough
Loose Equality Coercion
JavaScript code walkthrough · Question 28
hard
Operators
Code
Read carefully. What does this print?
1
console
.
log
(
0
==
""
)
;
2
console
.
log
(
0
==
"0"
)
;
3
console
.
log
(
""
==
"0"
)
;
4
console
.
log
(
1
==
true
)
;
Your answer
What will this code output?
Submit answer
←
Previous
Next
→
home
Home
grid_view
Problems
calendar_today
Daily
workspace_premium
Pricing
menu
Menu