Hello,

I don't know why but :

____
input = 'prototypes'
bool = input.endsWith('n');
bool = bool || input.endsWith('s');
alert(bool);
____

works fine but :

____
alert(input.endsWith('n') || input.endsWith('s'));
____

return me an error (IE6)

What I've do wrong?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to