more reliable t.isExpression

This commit is contained in:
Sebastian McKenzie
2015-01-02 01:04:04 +11:00
parent 470c8fced0
commit 383912c11b
4 changed files with 39 additions and 25 deletions

View File

@@ -3,8 +3,8 @@ var test = {
* Before bracket init
*/
["a"]: "1",
[/*
* Inside bracket init
*/
"b"]: "2"
[( /*
* Inside bracket init
*/
"b")]: "2"
}, ok = 42;

View File

@@ -4,10 +4,10 @@ var test = {
*/
["a"]: "1",
[/*
* Inside bracket init
*/
"b"]: "2",
[( /*
* Inside bracket init
*/
"b")]: "2",
["c"
/*
@@ -17,9 +17,9 @@ var test = {
// Before bracket, line comment
["d"]: "4",
[
[(
// Inside bracket, line comment
"e"]: "5",
"e")]: "5",
["f"
// After bracket, line comment