f() = x de facto standard

Rick Waldron waldron.rick at gmail.com
Wed Aug 7 09:25:36 PDT 2013


On Wed, Aug 7, 2013 at 7:08 AM, David Bruant <bruant.d at gmail.com> wrote:

> Hi,
>
> From http://qfox.nl/weblog/291
> Apparently, "f() = x" was forbidden as of ES5.1 (was still available in
> ES5 apparently), but a jQuery plugin is using it [1] (path not triggered in
> non-IE browsers).
> Not breaking the web, all that. It should probably be brought back.
>

In [1] below, that doesn't do anything and never did. In
http://jsfiddle.net/rwaldron/XPCMm/show/light nothing will ever get logged.
When run in IE6, 7, 8 there will be an error on the page.


Rick



>
> Syntax isn't my cup of tea, so I'll let others judge if a detail was
> overlooked somewhere.
>
> Kudos to @kuvos on this one!
>
> David
>
> [1] http://www.thuisbezorgd.nl/**scripts/jquery/jquery.**
> placeholder-min.js<http://www.thuisbezorgd.nl/scripts/jquery/jquery.placeholder-min.js>
> ______________________________**_________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130807/2ab20a75/attachment.html>


More information about the es-discuss mailing list