<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 3.3.3 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** bigin == number not comparable loose equality **Code** ```ts 1n == 1 ``` error: ``` This condition will always return 'false' since the types 'bigint' and 'number' have no overlap. ``` but in chrome 72.0.3626.121 ``` > 1n == 1 < true ``` and in MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt  And similar issues ```ts let x = [1, 2, 3] x[1n] ``` error: ``` Type '1n' cannot be used as an index type. ``` in Chrome ``` > let x = [1, 2, 3] x[1n] < 2 ``` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> http://www.typescriptlang.org/play/index.html#src=1n%20%3D%3D%201 http://www.typescriptlang.org/play/index.html#src=let%20x%20%3D%20%5B1%2C%202%2C%203%5D%0D%0Ax%5B1n%5D **Related Issues:** <!-- Did you find other bugs that looked similar? --> https://github.com/Microsoft/TypeScript/issues/30655
TypeScript Version: 3.3.3
Search Terms: bigin == number not comparable loose equality
Code
error:
but in chrome 72.0.3626.121
and in MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt

And similar issues
error:
in Chrome
Playground Link:
http://www.typescriptlang.org/play/index.html#src=1n%20%3D%3D%201
http://www.typescriptlang.org/play/index.html#src=let%20x%20%3D%20%5B1%2C%202%2C%203%5D%0D%0Ax%5B1n%5D
Related Issues:
#30655