File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ I solved the exercises using [TypeScript](https://typescriptlang.org) and
2020 [ Solution] ( https://github.com/UltiRequiem/eloquent-javascript/blob/main/src/language/fizzbuzz.ts ) -
2121 [ Test] ( https://github.com/UltiRequiem/eloquent-javascript/blob/main/src/language/fizzbuzz.test.ts )
2222
23+ > Returns the result as an array instead of printing it to the console for
24+ > reusability 🧐
25+
2326- [ Chessboard] ( https://eloquentjavascript.net/02_program_structure.html#i_swb9JBtSQQ ) -
2427 [ Solution] ( https://github.com/UltiRequiem/eloquent-javascript/blob/main/src/language/chessboard.ts ) -
2528 [ Test] ( https://github.com/UltiRequiem/eloquent-javascript/blob/main/src/language/chessboard.test.ts )
Original file line number Diff line number Diff line change 1+ import { chessboard } from "./chessboard.ts" ;
2+ import { assertEquals } from "../../deps.ts" ;
3+
4+ Deno . test ( "[chessboard]" , ( ) => {
5+ assertEquals ( chessboard ( ) . length , 71 ) ;
6+ } ) ;
You can’t perform that action at this time.
0 commit comments