Bug #41 - SyntaxError: missing ) in parenthetical
Submitted by: Jean-Baptiste Quenot
Date submitted: 2011-10-28 14:39:08 UTC
Status: Open
---------------------------------------8<-------------------------------
mkdir test
cat >> test/test.js << EOF
if ((parseInt($(this).find("type").text()) == 4 &&
($(this).find("country").text() == "US" || $(this).find("country").text() ==
"RU"))||
(parseInt($(this).find("type").text()) == 6)) {
// nothing
}
EOF
jscoverage test test-ins
---------------------------------------8<-------------------------------
Expected result:
Instrumented test.js in test-ins
Actual result:
jscoverage:test.js:1: SyntaxError: missing ) in parenthetical
Add a comment
Date submitted: 2011-10-28 19:35:00 UTC