Tarra Weisheit
Tuesday, July 19, 2011
How do you do multiple ORs in Javascript?
I need to be able to do this: if (getFileExtension(fileImage) == '.jpg' || '.jpeg' || '.png' || '.gif' ), how would I do it using the correct syntax?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment