JavaScript OR when assigning value to variable 
<script type="text/javascript">

x=false || 'test';
alert(x);//outputs 'test';

</script>



[ view entry ] ( 1566 views )   |  print article

<<First <Back | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Next> Last>>



2025 By Angel Cool