Just to note he&#x27;s not actually right on javascript dealing with string literals inside closures in the same way (js will reuse the same memory for all instances of &quot;Foobar&quot; in his map example).  I&#x27;m pretty sure he just means the general concept of allocations per closure instance will be familiar though, which is correct.