18 lines
330 B
JavaScript
18 lines
330 B
JavaScript
|
//// [invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts]
|
||
|
// Error
|
||
|
var binary = 0b21010;
|
||
|
var binary1 = 0B21010;
|
||
|
var octal = 0o81010;
|
||
|
var octal = 0O91010;
|
||
|
|
||
|
//// [invalidBinaryIntegerLiteralAndOctalIntegerLiteral.js]
|
||
|
// Error
|
||
|
var binary = 0;
|
||
|
21010;
|
||
|
var binary1 = 0;
|
||
|
21010;
|
||
|
var octal = 0;
|
||
|
81010;
|
||
|
var octal = 0;
|
||
|
91010;
|