Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nsf @ crawl]$ echo 'const PI = "123" / 2;' | ./crawl -no-ast
- stdin:1:18: error: invalid operands to binary expression
- const PI = "123" / 2;
- ~~~~~ ^ ~
- [nsf @ crawl]$ echo 'const PI = 5 / 2;' | ./crawl -no-ast
- [nsf @ crawl]$ echo 'const PI = 5.14 / 2;' | ./crawl -no-ast
- [nsf @ crawl]$
Add Comment
Please, Sign In to add comment