Makes sense to me, but why null instead of undefined? I thought it was more common for default values to be undefined in JavaScript. On Wed, Jun 20, 2012 at 5:46 AM, Hans Wennborg <hwennborg@google.com> wrote: > Hi all, > > The spec draft currently doesn't say what the default value of > SpeechRecognition.grammars should be. > > I think it should default to null, and that we should add text saying > that if the grammars attribute is null, that means the speech engine > should use its default grammar for the language. > > Thanks, > Hans > >Received on Wednesday, 20 June 2012 14:59:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 June 2012 14:59:55 GMT