What does a question mark after a variable mean?

The question mark in JavaScript is commonly used as conditional operator — called ternary operator when used with a colon (:) and a question mark (?) — to assign a variable name conditionally .

Sizin İçin Seçtik  Bu sabah dolar ne kadar?

Leave a Reply

Your email address will not be published. Required fields are marked *