Skip to content

Commit 2134b01

Browse files
authored
Update ex1-AddSix.js
1 parent baccbd1 commit 2134b01

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Week3/js-exercises/ex1-AddSix.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Declare a function called `createBase`.The function takes a number as a paramete
66
return a closure, that adds a number to the base number argument.
77
88
Call the function three times. The return values should be:
9-
15, 24, 36
9+
15, 24, 33
1010
1111
*/
1212

@@ -17,4 +17,3 @@ function createBase( /* ???? */ ) {
1717
const addSix = createBase(6);
1818

1919
// Put here your function calls...
20-
console.log(addSix());

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy