We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b821700 commit e0059beCopy full SHA for e0059be
Readme.md
@@ -95,7 +95,9 @@ false instanceof Chess.Color // true
95
1 instanceof Chess.PieceType // true
96
59 instanceof Chess.Square // true
97
98
-// NOTE: I'm not using BigInt to represent 'int' in python
+// NOTE: I can't use BigInt to represent 'int' in python,
99
+// because in Python squares can be used as an index,
100
+// and in javascript, you can't use BigInt to index arrays
101
Chess.isSquare(10n) // false
102
Chess.isSquare(10) // true
103
Chess.isSquare(3858) // "out of range"
0 commit comments