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