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 e1e4331 commit 8db013aCopy full SHA for 8db013a
exercises.js
@@ -71,7 +71,15 @@ console.log(kenny);
71
* The function will return true if the first number is greater than the second.
72
* Console.log your result.
73
*/
74
-
+function isGreaterThan(first, second){
75
+ if(first > second){
76
+ return true
77
+ }else{
78
+ return false
79
+ }
80
+}
81
+var fiyah = isGreaterThan(3, 1)
82
+console.log(fiyah);
83
84
85
/*
@@ -86,7 +94,15 @@ console.log(kenny);
86
94
87
95
88
96
89
97
+function mustBeTrue(boo){
98
+ if(boo === true){
99
100
101
102
103
104
+var poyodaboyo = mustBeTrue(null);
105
+console.log(poyodaboyo);
90
106
91
107
92
108
* #5
0 commit comments