f() = x de facto standard

David Bruant bruant.d at gmail.com
Wed Aug 7 04:08:37 PDT 2013


 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.

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!


[1] http://www.thuisbezorgd.nl/scripts/jquery/jquery.placeholder-min.js

More information about the es-discuss mailing list