W3C home > Mailing lists > Public > public-speech-api@w3.org > June 2012

Re: Default value of SpeechRecognition.grammars

From: Hans Wennborg <hwennborg@google.com>
Date: Wed, 20 Jun 2012 16:25:19 +0100
Message-ID: <CAB8jPhdqpny2Tt_yUd9VpJP-1n_wdE0U3E19rUTDbwMZ=6=qaQ@mail.gmail.com>
To: Dominic Mazzoni <dmazzoni@google.com>
Cc: public-speech-api@w3.org
On Wed, Jun 20, 2012 at 3:59 PM, Dominic Mazzoni <dmazzoni@google.com> wrote:
> Makes sense to me, but why null instead of undefined? I thought it was more
> common for default values to be undefined in JavaScript.

I'm happy with undefined too. I don't know which is more common.

Received on Wednesday, 20 June 2012 15:26:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:27 UTC