Added scenario in test case where properties shouldn't be accessed with
dotted syntax even with screw_ie8 option. Signed-off-by: Justin Lau <justin@tclau.com>
This commit is contained in:
@@ -17,10 +17,12 @@ dot_properties: {
|
||||
input: {
|
||||
a["foo"] = "bar";
|
||||
a["if"] = "if";
|
||||
a["*"] = "asterisk";
|
||||
}
|
||||
expect: {
|
||||
a.foo = "bar";
|
||||
a["if"] = "if";
|
||||
a["*"] = "asterisk";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,9 +34,11 @@ dot_properties_es5: {
|
||||
input: {
|
||||
a["foo"] = "bar";
|
||||
a["if"] = "if";
|
||||
a["*"] = "asterisk";
|
||||
}
|
||||
expect: {
|
||||
a.foo = "bar";
|
||||
a.if = "if";
|
||||
a["*"] = "asterisk";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user