News for hackers. Stuff that matters.
Re:V8 has optimized new JavaScript language features (2018) by ConcernedCoder on Saturday November 07, 2020 @10:23PM (#25022586)
The question needs to be "why on earth would you want to do that with let, when you should just make it a const?"
Re:V8 has optimized new JavaScript language features (2018) by klodolph on Sunday November 08, 2020 @12:50AM (#25023402)
Because minifiers can shave a few bytes by converting a mixture of const/let to use just let.