0

What will this function print to the console??

function generateNumber (input) { input++; input *= 2: return input; input = input + 7; } console. log (generateNumber (2) ) ;

18th Jan 2022, 12:33 PM
Sypher
Sypher - avatar
1 Answer
+ 1
It should print 6
18th Jan 2022, 12:44 PM
Mohammed