3xiondev @3xiondev

i think my other friend and I are going to write a modified version of Javascript called Gabrielscript where every statement is formatted like this

3xiondev @3xiondev

HELP I FOUND THIS IN MY FRIEND’S CODE I DON’T KNOW WHAT TO DO WITH HIM

while (price != 0); {price-25 = quarter++}
   while (price != 0 && price<=1); {price-1 && penny++}    
   while (price != 0 && price<=25); {price-10 && dime++}
   while (price != 0 && price<=5); {price-5 && nickel++}
Oct 10, 2024, 10:35 PM
2
Oct 21, 2024, 1:03 PM
4

comments

All of these are just variables...

the fact that there’s a semicolon after every condition

I'm pretty sure you can just do this in vanilla JavaScript, semicolons don't actually mean anything anymore

I don’t think its possible to execute more than one line of code in a condtional loop if the conditional loop is on one fucking line