Jump to content

Quick javascript question

Go to solution Solved by ICantThinkOfAnyGoodName,

You would need to do it like this

if("Jon".length*2/(2+1)===3){Console.log("stuff");}else{Console.log("stuff");}

You would need to do it like this

if("Jon".length*2/(2+1)===3){Console.log("stuff");}else{Console.log("stuff");}

GPU: Gigabyte GTX 970 G1 Gaming CPU: i5-4570 RAM: 2x4gb Crucial Ballistix Sport 1600Mhz Motherboard: ASRock Z87 Extreme3 PSU: EVGA GS 650 CPU cooler: Be quiet! Shadow Rock 2 Case: Define R5 Storage: Crucial MX100 512GB
Link to post
Share on other sites

You would need to do it like this

if("Jon".length*2/(2+1)===3){Console.log("stuff");}else{Console.log("stuff");}

I will try that now

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×