Search:

Type: Posts; User: mwinter; Keyword(s):

Search: Search took 0.02 seconds.

  1. Fire away... Not with a boolean typeof test,...

    Fire away...

    Not with a boolean typeof test, no as methods are of type function but the typeof operator is well supported. With standardised methods, you can limit yourself to a type-conversion...
  2. There are two ways to create a function object:...

    There are two ways to create a function object: function declarations and function expressions. I explained the difference fairly recently on Usenet, so if I may, I'd prefer to just direct you to...
  3. Well, it seems that several people have now read...

    Well, it seems that several people have now read this thread. Someone even gave it an excellent rating. But no questions or comments? :confused:

    Oh well. :rolleyes:

    Mike
  4. JavaScript Closures: A tool for creating re-usable scripts

    If one looks at the ECMAScript code I've posted to this forum, one should notice a simple pattern, or at least variations of it:


    var identifier = (function() {
    /* ... */
    })();Code as simple...
Results 1 to 4 of 4