{"ScriptPreparationCode":"this.n = Math.floor(Math.random() * 10000);","TestCases":[{"Name":"if","Code":"if(this.n%2)\r\n{\r\n return 3*this.n\u002B1;\r\n}\r\nelse\r\n{\r\n return this.n/2;\r\n}","IsDeferred":false},{"Name":"ternary","Code":"return (this.n%2)?3*this.n\u002B1:this.n/2;","IsDeferred":false},{"Name":"multiply","Code":"return (this.n%2)*(3*this.n\u002B1)\u002B(!(this.n%2))*this.n/2;","IsDeferred":false},{"Name":"multiply const","Code":"const n2=this.n%2;\r\nreturn n2*(3*this.n\u002B1)\u002B!n2*this.n/2;","IsDeferred":false}]}