Skip to content

Commit

Permalink
Add example code for solutions with default value (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte authored Sep 4, 2021
1 parent 34aaf3b commit 50a48bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/fixtures/resistor-color/issue-73/resistor-color.js
Original file line number Diff line number Diff line change
@@ -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"];

0 comments on commit 50a48bf

Please sign in to comment.