Skip to content

Instantly share code, notes, and snippets.

@pixelcort
Created May 28, 2020 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pixelcort/742074dc28d7ec312dd0ddf58d63f355 to your computer and use it in GitHub Desktop.
Save pixelcort/742074dc28d7ec312dd0ddf58d63f355 to your computer and use it in GitHub Desktop.
this['πŸ‘žπŸ‘ž'] = 30 / 3.0;
this['πŸ‘ž'] = this['πŸ‘žπŸ‘ž'] / 2;
console.assert(this['πŸ‘žπŸ‘ž'] + this['πŸ‘žπŸ‘ž'] + this['πŸ‘žπŸ‘ž'] === 30);
this['😼'] = (20 - this['πŸ‘žπŸ‘ž']) / 2.0;
console.assert(this['😼'] + this['😼'] + this['πŸ‘žπŸ‘ž'] === 20);
this['🍦🍦'] = (13 - this['😼']) / 2.0;
this['🍦'] = this['🍦🍦'] / 2.0;
console.assert(this['🍦🍦'] + this['🍦🍦'] + this['😼'] === 13);
let result = this['πŸ‘ž'] + ((this['😼']+this['🍦🍦']+this['πŸ‘žπŸ‘ž']) * this['🍦']);
console.assert(result === 43);
console.log(result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment