The || is "or". Whichever is "true" first is the result.

So "this" || "that" would equal "this".

But null || "that" would equal "that".


-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of runrunforest
Sent: Thursday, June 04, 2009 11:47 AM
To: jQuery (English)
Subject: [jQuery] Re: can someone translate this syntax ?


ah one more thing

in  o = $.extend({ afterEnd: null }, o || {});

the  o || {}  means ?


Reply via email to