Migrated tests to jest
Used jest-codemods to migrate, will have to pass everything by hand before we can merge.
This commit is contained in:
3
test3/initialize2DArray/initialize2DArray.js
Normal file
3
test3/initialize2DArray/initialize2DArray.js
Normal file
@ -0,0 +1,3 @@
|
||||
const initialize2DArray = (w, h, val = null) =>
|
||||
Array.from({ length: h }).map(() => Array.from({ length: w }).fill(val));
|
||||
module.exports = initialize2DArray;
|
||||
Reference in New Issue
Block a user