Função interna em JavaScript
function name(firstName,lastName){
function getFullName(){
console.log(firstName,lastName);
}
getFullName();
}
name('Jaw Jaw', 'Rakhaine');
//Output will be
//Jaw Jaw Rakhaine
Purple Team