A short intro to CommonJs modules.

Learn by example

Even reading just one example (mostly the javascript/main.js files) should give you a strong understanding of how the API works.


Talk to someone about your problems:

General JavaScript Introductions

You will find excellent reference documentation for most JS language features by appending “MDN” to any google query; e.g.: javascript array mdn

Learning JavaScript is easy but you may have some misconceptions. I recommend you at least skim one language overview for proficient programmers: