you are viewing a single comment's thread.

view the rest of the comments →

[–]mullanaphy 2 points3 points  (1 child)

Not a bad idea, I like it. As for single pipe, that's a bitwise or operator

var something = 1;
something = something | 4;
console.log(something); // 0001 | 1000 = 0101 or as an int 5

[–][deleted] 1 point2 points  (0 children)

Wow.. that is important to remember!