feat(ecma): add tests for constants

This commit is contained in:
Amaan Qureshi 2023-03-03 20:04:08 -05:00
parent c553e6c560
commit d7cef15b01

View file

@ -0,0 +1,13 @@
_FOO = 4
// <- @constant
__A__ = 2
// <- @constant
_ = 2
// <- @variable
A_B_C = 4
// <- @constant
_1 = 1
// <- @variable
const A = 2
// ^ @constant