var elem = document.getElementById('foo'); if (elem) { elem.value = 'foo'; } → (document.getElementById('foo') || {}).value = 'foo';
3:19 PM - 25 Oct 2010
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.