Quantcast
Channel: What is the use of "?" in jquery - Stack Overflow
Viewing all articles
Browse latest Browse all 5

What is the use of "?" in jquery

$
0
0

What is the use of "?" mark ?can anyone explain what question mark is doing here.

0 ? 1 : 1+w

and also ":" symbol .How to use "?" while writing the codes..

I have seen so many codes where people will use "?" like example above.

can anyone explain what question mark is doing.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>