W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2014

Re: [whatwg] Notifications: making requestPermission() return a promise

From: Tobie Langel <tobie.langel@gmail.com>
Date: Wed, 1 Oct 2014 19:28:25 +0200
Message-ID: <CAMK=o4dMa6jYKOwDbkf5yZyrV30j2fD+Z-Otw-0G-KFTh7E+FA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Andrew Wilson <atwilson@google.com>, WHATWG <whatwg@whatwg.org>, Jake Archibald <jaffathecake@gmail.com>, Peter Beverloo <beverloo@google.com>, Jonas Sicking <jonas@sicking.cc>
On Wed, Oct 1, 2014 at 7:22 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> Note that Python, for example, throws errors on dict keys not being
> found (unless you specifically tell it a sentinel value to return
> instead).  Do you think that's terrible?

Sure. But JS doesn't.
Received on Wednesday, 1 October 2014 17:28:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:24 UTC