Skip to content

Instantly share code, notes, and snippets.

@pashri
Created January 2, 2021 20:03
Show Gist options
  • Save pashri/4bc7f9fd85b21b52545022440c3f2bd4 to your computer and use it in GitHub Desktop.
Save pashri/4bc7f9fd85b21b52545022440c3f2bd4 to your computer and use it in GitHub Desktop.
true, false, maybe?
Object.defineProperty(window, 'maybe', { get: function() { return Math.random() < 0.5; } });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment