Why it's not running? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why it's not running?

function fun(miles){ Let hour=miles/40; Let min=hour*60; return min; }; Console.log(fun(100))

3rd May 2021, 10:10 PM
dheeraj gupta
dheeraj gupta - avatar
3 Answers
+ 1
Hi! explanation - just write the names of the keywords with a small letter
4th May 2021, 12:14 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
its let not Let and console not Console .
3rd May 2021, 11:37 PM
Med Amine Fh
Med Amine Fh - avatar
+ 1
Thanks
4th May 2021, 7:44 AM
dheeraj gupta
dheeraj gupta - avatar