Urbandoor interview question

How variables can be assigned in Javascript

Interview Answer

Anonymous

27 Oct 2018

By just the name and the assignment, by using var keyword and then the name and assignment. For ES^, they have let and const keywords but const is for constant.