weight draft title 4 false toFEN() Generates a string in Forsyth–Edwards Notation (FEN) representing the current position of the chess board. Syntax toFEN()