How to write an inline IF statement in JavaScript? How to write an inline IF statement in JavaScript? javascript javascript