Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Expressions don't short circuit #433

Closed
esprehn opened this issue Jun 24, 2011 · 1 comment
Closed

Expressions don't short circuit #433

esprehn opened this issue Jun 24, 2011 · 1 comment
Assignees
Milestone

Comments

@esprehn
Copy link
Contributor

esprehn commented Jun 24, 2011

Given x = 'cancel', This still alerts:

x == 'ok' && $window.alert()

@mhevery
Copy link
Contributor

mhevery commented Sep 23, 2011

fals && $window.alert()

@ghost ghost assigned dmanek Sep 23, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants