+ 3
In an array 1-100 numbers are stored, one number is missing how do you find it?
tell me fast....come on
2 Respostas
+ 16
MagicWordMissingException at this.Question:5.
+ 3
Use a function and pass the array as the parameter... Then apply indexOf  method to find  the  missing number. Take a look at this to understand what I'm trying to say: 
x = [1,2,3...100];
function missingNumber(x){
	for(var i=1; i<=x.length; i++){
		if(x.indexOf(i) == - 1){
          return i 
          }
That's what you need ( one of the thousands way to achieve it) Good luck dude.



