Advertisement
biswasrohit20

a

Jun 25th, 2021
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. var a = [1,2,3,4]
  2.  
  3. for (var i = 0; i < a.length; i++){
  4. a[i] = a[i] + 1
  5. }
  6.  
  7. console.log(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement