W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

Re: [Erratum] core-14. DOMImplementation.hasFeature (Re: hasFeature with "unspecified" version)

From: Thomas Much <thomas@snailshell.de>
Date: Thu, 12 Jul 2001 13:13:43 +0200
To: <www-dom@w3.org>
CC: Philippe Le Hegaret <plh@w3.org>
Message-ID: <B7734F28.5B44%thomas@snailshell.de>
am 11.07.2001 23:57 Uhr schrieb Philippe Le Hegaret unter plh@w3.org:

> http://www.w3.org/2000/11/DOM-Level-2-errata#core-14

  "[...] If the version is null or empty string, supporting any version of
   the feature causes the method to return true."

Maybe this should better read

  "If the version is null (or undefined) or empty string..."
because in ECMAScript the most common way to not supplying an argument is
leaving that argument "undefined" (which is a valid ECMAScript value), so
you'd just call


instead of


bye, Thomas

Received on Thursday, 12 July 2001 07:13:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC