javascript var charCode = (evt.which) ? evt.which : event.keyCode;
<p>how a code <code>var charCode = (evt.which) ? evt.which : event.keyCode</code> could be explaned?
what happens here ?
all i understand is that clause returns buttons value to the object charCode.
but what those ? and : signs mean?
and can i use this thing in other languager? java/c++/php and so on?
Thanks</p>
