From 50a48bf1261b7e0a32207c9415ad17f0c1d10ffa Mon Sep 17 00:00:00 2001 From: Derk-Jan Karrenbeld Date: Sat, 4 Sep 2021 19:20:59 +0200 Subject: [PATCH] Add example code for solutions with default value (#114) --- test/fixtures/resistor-color/issue-73/resistor-color.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/fixtures/resistor-color/issue-73/resistor-color.js diff --git a/test/fixtures/resistor-color/issue-73/resistor-color.js b/test/fixtures/resistor-color/issue-73/resistor-color.js new file mode 100644 index 00000000..ae2efdbf --- /dev/null +++ b/test/fixtures/resistor-color/issue-73/resistor-color.js @@ -0,0 +1,2 @@ +export const colorCode = (color='black') => COLORS.indexOf(color); +export const COLORS = ["black", "brown", "red", "orange", "yellow", "green", "blue", "violet", "grey", "white"]; \ No newline at end of file