🔰compile-time
the period when the source code (such as C#, Java, C, Python) is converted to the machine code (i.e. binary code).
scopes are determined at compile-time.
identifiers are registered to respective scope during compile-time.
but in sloppy mode, you can cheat it at runtime. ( 👉 modify current scope at runtime❗️❗)
statically typed - the type of a value can't be changed at runtime.
static binding (the value of an identifier is predetermined at compile-time)
compilation - how JS is compiled
compare:runtime
scopes are determined at compile time.
Last updated
Was this helpful?