EspaƱol
|
Donate
Home
Favorite Links
StackOverflow
Google
W3 Schools
Linux
Apache
MySQL
PHP
LAMP >
Packagist
NPM
My Site
Tutorials
Cisco
LAMP
Miscellaneous
Notes
Contact Me
JavaScript OR when assigning value to variable
Thursday, July 12, 2012, 10:29 PM -
- Misc. Notes
Posted by Administrator
<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