Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
return (number === 2)
Works correctly in over half of the cases so that would be good enough -
kamen69253y@cafecortado That's kind of easy. What would be better is to persuade someone to write it by hand.
-
Don‘t forget to create an npm framework for that after you have figured that out.
-
hint: use Math.abs() on number. That will save you from having to write out all the negatives. Go get em tiger
-
then make a webpage for the npm package of it.
i got a tagline for it:
even.js : when you can't even -
It doesn't output a number, but it's otherwise brilliant. You're going to be very rich, very soon.
Hi , im new to programming and codings and my task is to make a output that outputs even number only ( not odd number) so i wrote this codes but its so complicated for me. Is there a better way to write it?
Thanks dears,,
rant