Posts by Beto • 7 points
2 posts
-
-1
votes5
answers3692
viewsA: create "contain" function that says if an array contains a certain element and returns true
I tested it here it worked. function contem(vetor, elemento){ for(var i = 0; i < vetor.length ; i++){ if(vetor.indexOf(elemento) != -1) return true; } return false }…
-
0
votes1
answer72
viewsQ: npm enterprise proxy error does not leave low packets
npm enterprise proxy error does not leave low packets npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/@angular%2fcli failed, reason: connect…