Riasat Mehmood·Sep 14Why JavaScript needed let and const (and what var got wrong)Most frontend developers use var, let, and const every day without ever asking why three ways to declare a variable exist in the same…