Posts by Guilherme1808 • 1 point
2 posts
-
-2
votes4
answers1092
viewsA: Doubt with switch in Javascript
<script> function experiencia(anos) { if (anosEstudo >= 0 && anos <= 1) { console.log('Iniciante'); } else if (anosEstudo <=3)…
-
-3
votes6
answers6079
viewsA: My function that returns a true/false boolean if it exists or not, is that correct?
function temHabilidade(skills) { var skill; if (skills.indexOf('Javascript')) { console.log(false); } else { console.log(true); } } var skills…
javascriptanswered Guilherme1808 1