Expression Evaluation

Expressions Evaluation

The following code:

Current year - {new Date().getFullYear()}
 
🧑‍💻 JavaScript expressions {2 * Math.PI}

results in:

💡

Current year - 2024

🧑‍💻 JavaScript expressions 6.283185307179586

Variable declaration

export const  author = 'John Doe'
 
The author is **{ author }**
💡

The author is John Doe