Add check and testcases for invalid binary digits and octal digits

This commit is contained in:
Yui T
2014-11-29 16:46:01 -08:00
parent 123b2ebda7
commit db51fbd65c
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
// Error
var binary = 0b21010;
var binary1 = 0B21010;
var octal = 0o81010;
var octal = 0O91010;