Skip to content

Instantly share code, notes, and snippets.

@lisp-ceo
Created July 30, 2013 16:53
Show Gist options
  • Save lisp-ceo/6114750 to your computer and use it in GitHub Desktop.
Save lisp-ceo/6114750 to your computer and use it in GitHub Desktop.
// Lessons in order of operations behaviour in JS
this.get( 'bottlings' ).getRequiredUpdates() + (this._requiresUpdate() ) ? 1 : 0;
this.get( 'bottlings' ).getRequiredUpdates() + ((this._requiresUpdate() ) ? 1 : 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment