Re: [heycam/webidl] Editorial: run platform algorithms on IDL objects (#666)

Ms2ger commented on this pull request.



>              1.  If |target| is an [=interface=], and |attribute| is a [=regular attribute=]:
                 1.  If the <emu-val>this</emu-val> value is <emu-val>null</emu-val> or
-                    <emu-val>undefined</emu-val>, set |O| to |realm|'s [=Realm/global object=].
+                    <emu-val>undefined</emu-val>, let |O| be |realm|'s [=Realm/global object=].

Can you show what this would look like? Ideally we'd have Rust-style `let x = if .. {} else {}`. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/666#discussion_r261095671

Received on Thursday, 28 February 2019 08:51:38 UTC