Skip to content

Commit 6794f43

Browse files
committed
Merge branch 'master' of github.com:brianleroux/wtfjs
2 parents c18c06e + 9553c84 commit 6794f43

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
```
2+
console.log(.2+.1); // 0.30000000000000004
3+
console.log(999999999999999999); // 1000000000000000000
4+
console.log(true+true === 2); // true
5+
console.log(true-true === 0); // true // So true must be 1 right ?
6+
console.log(true === 1); // false
7+
console.log('5' + 3); // 53
8+
console.log('5' - 3); // 2
9+
```
10+
[@Darth-koder007](https://github.com/@Darth-koder007)
11+

0 commit comments

Comments
 (0)