News for hackers. Stuff that matters.
Re:Using const/let instead of var can make JavaScript code r... by quickthrower2 on Wednesday October 21, 2020 @01:31AM (#24845015)
But const/let are not equivalent, semantically to var.
Re:Using const/let instead of var can make JavaScript code r... by saagarjha on Wednesday October 21, 2020 @04:52AM (#24845971)
They aren’t exactly the same thing, but in this case there’s a replacement being done to get essentially the same thing as a “fix” so they’re evidently close enough for this case.