SHARE
TWEET

Untitled

a guest Jun 17th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Andrea = [1,2,3,5,4,3] ,
  2. Maria = [3,2,1,2,7,9]
  3.  
  4. for (let i=0; i < Andrea.length; i++){
  5.  
  6. if(Andrea[0] === Maria [0]) {
  7.         console.log(Andrea[0])
  8.     } else {
  9.         Andrea[i]+=2
  10.         alert(Andrea[i])
  11.     } else if(Andrea[1] === Maria[1]){
  12.         console.log(Andrea[0])
  13.     }
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top