run-once
Simply do something once, or once under a condition using custom namespaces.
{ var skyColor if skyColor = 'The sky is' + color else skyColor = 'The sky is falling' console}// Run once: The sky is blue// Run again: The sky is falling// Run and on: The sky is faling// ...
{ var skyColor if skyColor = 'The sky is' + color else skyColor = 'The sky is falling' console}// Run once: The sky is blue// Run again: The sky is falling// Run and on: The sky is faling// ...// Run once: The sky is red// Run again: The sky is falling// Run and on: The sky is faling// ...
(c) 2016 Julien Etienne MIT