1 // Take into account that the move may be a multi-move
2 export function getFullNotation(move) {
3 if (Array
.isArray(move)) {
5 for (let i
=0; i
<move.length
; i
++)
6 notation
+= move[i
].notation
+ ",";
8 return notation
.slice(0,-1);
10 // Simple (usual) case