Answers for "js create and call function"

2

js create and call function

// Create a function (you decide the name) that logs out the number 42 
// to the console

// Call/invoke the function

 function number(){
     console.log(42)
 }
 
 number()
//result = 42
Posted by: Guest on June-05-2021

Code answers related to "js create and call function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language