query: In JavaScript, eval(010) returns 8
positive_passages.docid: 21975
positive_passages.text: Number with leading zero in JavaScript
negative_passages.docid: 105633
negative_passages.text: What characters are valid for JavaScript variable names?
negative_passages.docid: 117657
negative_passages.text: Why does javascript accept commas in if statements?
negative_passages.docid: 107569
negative_passages.text: Conditional check for "i == (2^8)" fails when i is 512?
negative_passages.docid: 139204
negative_passages.text: Why do numeric string comparisons give unexpected results?
negative_passages.docid: 138518
negative_passages.text: Why is one string greater than the other when comparing strings in JavaScript?
negative_passages.docid: 98483
negative_passages.text: Why int j = 012 giving output 10?
negative_passages.docid: 90509
negative_passages.text: Does JavaScript have "Short-circuit" evaluation?
negative_passages.docid: 92055
negative_passages.text: In JavaScript, why is "0" equal to false, but when tested by 'if' it is not false by itself?
negative_passages.docid: 29148
negative_passages.text: Is there an eval() function in Java?
negative_passages.docid: 133459
negative_passages.text: Why is using 'eval' a bad practice?
negative_passages.docid: 18075
negative_passages.text: How to mathematically evaluate a string like "2-1" to produce "1"?
negative_passages.docid: 75469
negative_passages.text: Why does Ruby's String#to_i sometimes return 0 when the string contains a number?
negative_passages.docid: 61014
negative_passages.text: When is eval evil in php?
negative_passages.docid: 78247
negative_passages.text: is it even possible to add a 0 in java with terny operators?
negative_passages.docid: 49107
negative_passages.text: How do I convert an integer to a float in JavaScript?
negative_passages.docid: 106258
negative_passages.text: What is the reason that an empty string evaluates to false in Javascript