I would go with O'reilly's JavaScript: The Definitive Guide, (5th ed) (aka The Rhino book, ISBN 9780596101992).
It aims at all levels, so it does have sections about what are variables, and loops and regexes and suchlike, but so do Programming Perl, and the K&R, and similar to those, it's the most comprehensive and correct reference material I'm familiar with regarding JS.
I'm going to go with my usual recommendation regarding learning a language, and that is to create a project in it, with one hand on the book for reference. It usually helps you get along faster than cover-to-covering the book.

I don't even know if Javascript supports closures

It does. JavaScript's strongest point is what I like to call "Everything is Everything", meaning that almost every element in the language (functions, arrays, objects, assoc. arrays, variables, numbers, regexes) can be used, or assigned as any other, with very powerful results. The language was design to exist solely in a browser, giving it a sort of "sandbox" design where you can just go nuts with your syntax and achieve complex and powerful results (Similar to Emacs-LISP, if you're familiar with it).
In this type of landscape, functions can be declared as variables, Objects, be interpreted as arrays/assoc. arrays and do some other things, which suggests a very strong "functional" methodology. JS is also very OO, although prototype-based, which goes very handy with the DOM structure it functions in. Its data-format, JSON, comes from the language itself, so no added tools are needed to read/write it. I find it to be very fun and cute language, if only it wasn't so inadequately and incompatibly implemented by different client-software.

Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphors.


In reply to Re: [OT] How do I really learn javascript? by Erez
in thread [OT] How do I really learn javascript? by moritz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.