Fill in the blanks to declare a constant num and an arrow function calc. num = 5; const calc = (x, y, z = num) { | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4

Fill in the blanks to declare a constant num and an arrow function calc. num = 5; const calc = (x, y, z = num) {

YOUR help will be useful show your talent

4th Apr 2019, 2:18 PM
Jonathan Rukangira
Jonathan Rukangira - avatar
8 Answers
+ 14
const num = 5; const calc = (x, y, z = num) => { return x + y + z; } Answer is here
5th Aug 2019, 7:24 PM
Aftab Ashraf
Aftab Ashraf - avatar
+ 5
const num = 5; const calc = (x, y, z = num) => { return x + y + z; } Answer is here
10th Feb 2020, 9:01 AM
Pranjal Singh
Pranjal Singh - avatar
+ 3
const num = 5; const calc = (x, y, z = num) => { return x + y + z; }
17th Aug 2019, 10:31 AM
Sandesh Vhotkar
+ 2
The answer is const and =>
5th May 2019, 9:02 PM
Viktorija Ugljesin
Viktorija Ugljesin - avatar
+ 2
answer const =>
5th Jun 2019, 9:25 AM
@ghost_coding
@ghost_coding - avatar
+ 1
answer = const =>
28th Oct 2020, 7:18 AM
RAJVEER MAURYA
RAJVEER MAURYA - avatar
+ 1
const num = 5; const calc = (x, y, z = num) => { return x + y + z; } Answer is here
17th Sep 2021, 4:49 AM
Chandramouli
Chandramouli - avatar
0
const num = 5; const calc = (x, y, z = num) => { return x + y + z; }
3rd Dec 2020, 8:01 PM
El Maslohi Hassan