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.
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加