From 87d0fb795f02db35745ef9584326afa1c14b973b Mon Sep 17 00:00:00 2001 From: busesisi Date: Fri, 21 May 2021 21:58:46 +0300 Subject: [PATCH] buse-mustafa-waldo --- .../index.js | 37 +++++++++++++++++++ .../readme.md | 32 ++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 class-14-js-wheresWaldo/buse-mustafa-class14-whereiswaldo/index.js create mode 100644 class-14-js-wheresWaldo/buse-mustafa-class14-whereiswaldo/readme.md diff --git a/class-14-js-wheresWaldo/buse-mustafa-class14-whereiswaldo/index.js b/class-14-js-wheresWaldo/buse-mustafa-class14-whereiswaldo/index.js new file mode 100644 index 0000000..3adec5c --- /dev/null +++ b/class-14-js-wheresWaldo/buse-mustafa-class14-whereiswaldo/index.js @@ -0,0 +1,37 @@ +let example = [ + ["A", "A", "A"], + ["A", "A", "A"], + ["A", "X", "A"], + ["A", "A", "A"], + ["A", "A", "A"] + ]; + +let example2 = [ + ["c", "c", "c", "c"], + ["c", "c", "c", "d"] +]; + +function whereIsWaldo(array){ + for (let i=0;i