Skip to content

Commit 788411c

Browse files
authored
Create Yellow.js
1 parent b13d0cc commit 788411c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Yellow.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const light = "yellow";
2+
const strat = light =="green"
3+
? "go"
4+
:light =="red"
5+
? "don't go"
6+
: light =="Blue"
7+
? "stay"
8+
: light =="yellow"
9+
? "unknown"
10+
:"invalid "
11+
console.log(strat);

0 commit comments

Comments
 (0)