サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
夏の料理
www.adequatelygood.com
<p>There’s <a href='http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs'>been</a> <a href='http://adactio.com/journal/4346/'>a</a> <a href='http://simonwillison.net/tags/hashbanghell/'>lot</a> <a href='http://www.tbray.org/ongoing/When/201x/2011/02/09/Hash-Blecch'>of</a> <a href='http://groups.google.com/group/jsmentors/browse_thread/thread/e493573c4de5d5f9?hl=en_US'>discussion<
<p>Do you know what value will be alerted if the following is executed as a JavaScript program?</p> <pre><code>var foo = 1; function bar() { if (!foo) { var foo = 10; } alert(foo); } bar();</code></pre> <p>If it surprises you that the answer is “10”, then this one will probably really throw you for a loop:</p> <pre><code>var a = 1; function b() { a = 10; return; function a() {} } b();
<p>The engineering culture at Twitter requires tests. Lots of tests. I haven’t had formal experience with JavaScript testing before Twitter, so I’ve been learning a lot as I go. In particular, a number of patterns I used to use, write about, and encourage have turned out to be bad for writing testable code. So I thought it would be worthwhile to share a few of the most important princi
<p>The module pattern is a common JavaScript coding pattern. It’s generally well understood, but there are a number of advanced uses that have not gotten a lot of attention. In this article, I’ll review the basics and cover some truly remarkable advanced topics, including one which I think is original.</p> <h2 id='the_basics'>The Basics</h2> <p>We’ll start out with a simple overv
このページを最初にブックマークしてみませんか?
『www.adequatelygood.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く