This website requires JavaScript.
Explore
Help
Register
Sign In
Jason
/
pluralsight-js-functions
Watch
1
Star
0
Fork
You've already forked pluralsight-js-functions
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
a3c7a49770
pluralsight-js-functions
/
app.js
4 lines
86 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Module2: Demo add 2 numbers
2021-05-12 12:11:47 +10:00
let
sum2
=
(
num1
,
num2
)
=>
num1
+
num2
;
Module1: How Closures Work
2021-05-12 11:45:47 +10:00
Module2: Demo add 2 numbers
2021-05-12 12:11:47 +10:00
let
output
=
sum2
(
10
,
5
)
;
console
.
log
(
output
)
;