Hacker News new | comments | show | ask | jobs | submit login
Learn JS - Free Interactive JavaScript Tutorial (learn-js.org)
15 points by ronreiter 1565 days ago | hide | past | web | favorite | 8 comments



The third tutorial "Manipulating Arrays" is broken. myQueue.unshift(); prints 3, no matter what variable is inserted prior.

input:

  var myQueue = [];
  myQueue.push(1);
  myQueue.push(2);
  myQueue.push(3);

  console.log(myQueue.unshift());
  console.log(myQueue.unshift());
  console.log(myQueue.unshift());
output:

  3
  3
  3


thanks, fixed!


Nice, is it just for basic js or tutorials like WebRTC/Filesystem api and such are welcome?


haha :) what's up? :)

maybe you should write some :)


This has A LOT of potential. Good luck! By the way - looks so similar to http://www.learnpython.org/


yeah, same author :)


This is very nice. I will recommend it to friends.


Useful!




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: