diff --git a/projects/Closure/52/com/google/javascript/jscomp/CodeGenerator.java b/projects/Closure/52/com/google/javascript/jscomp/CodeGenerator.java index ac6299d..535148c 100644 --- a/projects/Closure/52/com/google/javascript/jscomp/CodeGenerator.java +++ b/projects/Closure/52/com/google/javascript/jscomp/CodeGenerator.java @@ -742,7 +742,7 @@ static boolean isSimpleNumber(String s) { return false; } } - return len > 0; + return len > 0 && s.charAt(0) != '0'; } static double getSimpleNumber(String s) {