Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script>
- var apa = [];
- console.log(apa);
- apa.push('a');
- apa.push('a');
- apa.push('a');
- for (i=0; i<10; i++) {
- apa.push(i);
- }
- </script>
- </head>
- </html>
- // in chrome
- // ["a", "a", "a", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
- // in firefox
- // []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement