JavascriptWhat’s the difference between using “let” and “var” in JavaScript? By Sudhanshu Bajaj on Friday, May 17, 2019In simple terms var is function scoped and let is block scoped.