Ask coding questions

← Back to all posts
Loading error
MangeshKadam (1)

I am not able to see anything , it is just loading. Tried chrome as well as firefox.

ArchieMaclean (795)

You are creating the function funChallenge, but in order to run the code inside it, you have to call it, like this:

let n = funChallenge(100);

Please mark this as the answer if it solved your problem :)

p.s. also note, the code will crash because you are calling anotherFunction(); inside it, and you haven't defined anotherFunction(). You will want to define that function too.


function anotherFunction() {
  console.log('another function!');