Lindy interview question

Some JS semantics / language questions