Lecture series on SES and capability-based security by Mark Miller

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Nov 4 10:59:27 PDT 2011


On Nov 4, 2011, at 10:33 AM, Axel Rauschmayer wrote:

> How about:
> 
>    function Bob(t) {
>       var stolenArray;
>       var hackedPush = function() {
>           stolenArray = this;
>       };
>       t.store("push", hackedPush);


If Array.prototype has been frozen (as the problem statement implied) then the above line should throw.


Allen


More information about the es-discuss mailing list