Raw Flashcards
1
Q
is [] truthy or falsy. what about {}
A
both are falsy
2
Q
What does Number() do vs. parseInt()?
A
Number coerces string but and parseInt parses a number out of string
3
Q
what does a plain assignment (just =) return
A
returns the right hand side