We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bd4684 commit 95a599aCopy full SHA for 95a599a
logic/ternary-operators.js
@@ -0,0 +1,5 @@
1
+const age = 1;
2
+
3
+if (age >= 18) {
4
+ console.log("You can vote");
5
+} else console.log("you can't vote");
0 commit comments