Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: test/message/strict-octal-number.out

Issue 2510873005: A decimal integer literal with a leading 0 is now an error in strict mode. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 *%(basename)s:32: SyntaxError: Octal literals are not allowed in strict mode. 1 *%(basename)s:32: SyntaxError: Number literals must not have a '0' prefix in str ict mode.
2 var x = 012; 2 var x = 012;
3 ^^^ 3 ^^^
4 SyntaxError: Octal literals are not allowed in strict mode. 4 SyntaxError: Number literals must not have a '0' prefix in strict mode.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698