Comet only considers numbers to only be represented in decimal format, which is not realistic in a programming language.
We expect Comet to be able to lex and parse numbers of binary, hex, octal format as well:
var a = 0xcafebabe
var b = 0b10100000
var c = 012
Comet only considers numbers to only be represented in decimal format, which is not realistic in a programming language.
We expect Comet to be able to lex and parse numbers of binary, hex, octal format as well: