Porque helloWord não está sendo retornado no console.log?
<script>
var helloWord = function(){
return function(){
return "helloWord";
}
}
console.log(helloWord);
console.log(helloWord());
</script>Discussão (8)
Carregando comentários...
<script>
var helloWord = function(){
return function(){
return "helloWord";
}
}
console.log(helloWord);
console.log(helloWord());
</script>Carregando comentários...