Inicializar la función 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()
Naughty Narwhal