-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
OS-emscripteninterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
Description
While reviewing recent js code changes related to WASM / Emscripten I've noticed that there are lots of existing and new var
declarations.
Good reference: https://javascript.plainenglish.io/why-you-should-never-use-var-again-seriously-447183bd8d62
We should change them to be let
and const
.
Related: https://github.com/python/cpython/pull/136837/files
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-emscripteninterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)