For having a few teaching experience, I would say that this is completely ignoring the fact that JavaScript is about callbacks and asynchronous operations. Those concepts are really hard for new comers (even for some professional) who expect the program flow to be completely different.