Created
May 28, 2020 12:17
-
-
Save pixelcort/742074dc28d7ec312dd0ddf58d63f355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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