[ALOY-317] Throw compile error when reserved JS words are used as IDs
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Medium |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-10-04T20:19:48.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2012 Sprint 20, Release 3.0.0 |
| Components | XML |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-10-04T19:43:21.000+0000 |
| Updated | 2018-03-07T22:25:45.000+0000 |
Description
The list found here will be reserved and will result in a compile error when attempted to be used in Alloy as an ID:
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Reserved_Words
This will help enforce best practices and more readable and stable code.
No comments