Finding a "safety syntax" for classes

Kevin Smith khs4473 at gmail.com
Thu Mar 22 19:08:51 PDT 2012


Since the method name is specified as PropertyName, it will allow bracketed
expressions for names, correct?

class A {
    [maybePrivateMethod]() {
        ...
    }
}

kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120322/e5cecba9/attachment.html>


More information about the es-discuss mailing list