Advertisement
pcwizz

inline logic assignment

Jun 2nd, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Edge.prototype.toggleVector = function (){
  2.     this.vector = (this.vector == true) ? false:true;
  3. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement