If I have something like:
const a = 1 + 1
Is 1 + 1
added during the compiling time?
If I have something like:
const a = 1 + 1
Is 1 + 1
added during the compiling time?
Yes
Constant expressions may contain only constant operands and are evaluated at compile time.
Check constant expressions.