The mallet operator is similar to the current memoization operator, except it can be used outside of just objects. In Ruby, it’s almost the same as `a = a || b`. Note that only `nil` and `false` are falsey in Ruby. I’ve defined it as `== null`, though that could be changed to any JS falsey value.
6to5 turns ES6+ code into vanilla ES5, so you can use next generation features today.
For more information view the documentation. For support visit the gitter room.
Description
Languages
JavaScript
99.5%
Makefile
0.3%
HTML
0.1%