Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

initialize function javascript

function function_name(){
	//function body
    console.log("my function")
}
//ES6 
const function_name = ()=>{
	//function body
    console.log("my ES6 function")
}

//you can call both functions like this
function_name()
 
PREVIOUS NEXT
Tagged: #initialize #function #javascript
ADD COMMENT
Topic
Name
3+2 =