Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] void

Expand Messages
  • Dav Glass
    optimistx -- That would be an error in the docs, can you file a bug for it here: http://developer.yahoo.com/yui/yahoo/#filingbugs Thanks Dav Dav Glass
    Message 1 of 2 , Aug 4, 2008
    • 0 Attachment
      optimistx --

      That would be an error in the docs, can you file a bug for it here:
      http://developer.yahoo.com/yui/yahoo/#filingbugs

      Thanks
      Dav
       
      Dav Glass
      dav.glass@...
      blog.davglass.com



      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +


      ----- Original Message ----
      From: optimistx <optimistx@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Sunday, August 3, 2008 9:53:34 PM
      Subject: [ydn-javascript] void

      Douglas Crockford in

      http://www.jslint.com/lint.html

      writes

      "void

      In most C-like languages, void is a type. In JavaScript, void is a
      prefix operator that always returns undefined. JSLint does not expect
      to see void because it is confusing and not very useful."

      E.g. in YUI modulie YAHOO.lang documentation there is

      " merge
      void merge ( arguments )
      Returns a new object containing all of the properties of all the
      supplied objects. The properties from later objects will overwrite
      those in earlier objects.

      Parameters:
          arguments <Object*> the objects to merge

      Returns: void
          the new merged object"

      What is the meaning of the word void in YUI?







      ------------------------------------

      Yahoo! Groups Links

      <*> To visit your group on the web, go to:
          http://groups.yahoo.com/group/ydn-javascript/

      <*> Your email settings:
          Individual Email | Traditional

      <*> To change settings online go to:
          http://groups.yahoo.com/group/ydn-javascript/join
          (Yahoo! ID required)

      <*> To change settings via email:
          mailto:ydn-javascript-digest@yahoogroups.com
          mailto:ydn-javascript-fullfeatured@yahoogroups.com

      <*> To unsubscribe from this group, send an email to:
          ydn-javascript-unsubscribe@yahoogroups.com

      <*> Your use of Yahoo! Groups is subject to:
          http://docs.yahoo.com/info/terms/

    Your message has been successfully submitted and would be delivered to recipients shortly.