-
Notifications
You must be signed in to change notification settings - Fork 4
Optional chaining support? #30
Open
Description
I'm thinking this, to align it fully with object methods.
receiver?~>fn():receiver == null ? undefined : fn.call(receiver)receiver~>fn?.():typeof fn !== "function" ? undefined : fn.call(receiver)receiver?~>fn?.():receiver == null || typeof fn !== "function" ? undefined : fn.call(receiver)