it's not an error
it a shortcut to affect and test result in a line

On May 14, 2007, at 11:06 AM, Dhruba Bandopadhyay wrote:

I came across http://www.mozilla.org/docs/web-developer/js/ debugging/ explaining about turning on Strict JavaScript in Mozilla Firefox (type about:config in address bar, then enable javascript.options.strict). It pinpointed some issues but the main concern is in prototype.js in the Object.extend function. It says:

if (match = source.match(pattern)) {

Is this correct or should it be:

if (match == source.match(pattern)) {

???

If it's a typo error then could you also notify the real author of prototype too!


Cheers!

Change is good. See what’s different about Windows Live Hotmail. Check it out!
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to