Skip to content

Commit 50a48bf

Browse files
Add example code for solutions with default value (#114)
1 parent 34aaf3b commit 50a48bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const colorCode = (color='black') => COLORS.indexOf(color);
2+
export const COLORS = ["black", "brown", "red", "orange", "yellow", "green", "blue", "violet", "grey", "white"];

0 commit comments

Comments
 (0)