I made a new JavaScript operator!

Can you figure out how?

let x = 10;
// The new arrow operator – goes from one number to another
while (x –> 0) { // x goes to 0
console.log(x)
}


This content originally appeared on DEV Community and was authored by Siddharth

Can you figure out how?

let x = 10; // The new arrow operator – goes from one number to another while (x --> 0) { // x goes to 0 console.log(x) }


This content originally appeared on DEV Community and was authored by Siddharth


Print Share Comment Cite Upload Translate Updates
APA

Siddharth | Sciencx (2021-06-05T05:38:16+00:00) I made a new JavaScript operator!. Retrieved from https://www.scien.cx/2021/06/05/i-made-a-new-javascript-operator/

MLA
" » I made a new JavaScript operator!." Siddharth | Sciencx - Saturday June 5, 2021, https://www.scien.cx/2021/06/05/i-made-a-new-javascript-operator/
HARVARD
Siddharth | Sciencx Saturday June 5, 2021 » I made a new JavaScript operator!., viewed ,<https://www.scien.cx/2021/06/05/i-made-a-new-javascript-operator/>
VANCOUVER
Siddharth | Sciencx - » I made a new JavaScript operator!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/05/i-made-a-new-javascript-operator/
CHICAGO
" » I made a new JavaScript operator!." Siddharth | Sciencx - Accessed . https://www.scien.cx/2021/06/05/i-made-a-new-javascript-operator/
IEEE
" » I made a new JavaScript operator!." Siddharth | Sciencx [Online]. Available: https://www.scien.cx/2021/06/05/i-made-a-new-javascript-operator/. [Accessed: ]
rf:citation
» I made a new JavaScript operator! | Siddharth | Sciencx | https://www.scien.cx/2021/06/05/i-made-a-new-javascript-operator/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.