Skip to content

Commit b98d7a1

Browse files
committed
added example
1 parent 3a1b727 commit b98d7a1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

JavaScript Outlines/functionScratch.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,17 @@ gradeQuote(theGrade(90));
197197

198198
// gradeQuote(theGrade(90))
199199
// gradeQuote(theGrade(85))
200+
201+
202+
203+
204+
205+
function increment(x) {
206+
return sum(x, 1);
207+
}
208+
209+
function sum(x,y) {
210+
return x + y;
211+
}
212+
213+
console.log(increment(4))

0 commit comments

Comments
 (0)