DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Arrow function in javascript
let
numbers
=
(
x
,
y
,
z
)
=>
(
x
+
y
+
z
)
*
2
;
console
.
log
(
numbers
(
3
,
5
,
9
)
)
//Expected output:34
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#Arrow
#function
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit