Globals
Learn how Aurelia 2 handles global variables in templates, the built-in list of accessible globals, and when to use them effectively.
Why Limit Global Access?
Example Usages of Built-In Globals
1. Working with JSON
JSON2. Mathematical Operations with Math
3. Conditional Rendering with isNaN
4. Regular Expressions with RegExp
5. Dynamic Property Access with Object
6. Set Operations with Set
7. Encoding & Decoding URLs
8. Number Formatting with Intl.NumberFormat
9. Complex Array Manipulations
Best Practices and Considerations
Last updated
Was this helpful?