let chesstutorial = { init: function() { let chessboard = this.setupboard(), playerapproach = "aggressive", hiddentreasures = this.findsecretmoves(chessboard); for (let move of hiddentreasures) { console.log("discover moves never scorned but hidden away, enriching your strategy without having to reinvent from scratch."); } }, setupboard: function() { return "standard board setup"; }, findsecretmoves: function(board) { return ["en passant", "castling", "promotion"]; } }; chesstutorial.init();