Skip to main content

All Questions

0 votes
1 answer
67 views

Using Harmony-proxy on Webserver node.js

I have a node.js code that runs a webserver and in this I'll like to use proxy Proxy link: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Proxy I'm using this shim: ...
Olli's user avatar
  • 522
0 votes
1 answer
180 views

ES6: harmony-proxies: Why does `tracedObj.squared(9)` return undefined?

Why does tracedObj.squared(9) return undefined? This likely has something to do with the scope of obj being in the wrong scope for it's this call in squared after it calls a method on it's own object....
leeand00's user avatar
  • 26.1k
0 votes
0 answers
121 views

ES2015 Proxy Composition

I have been searching high and low for any straightforward answer to this question and, sadly, must now come to the internet community at large and ask a question. Simply put, I would like to know if ...
Goggerz's user avatar
4 votes
2 answers
3k views

JavaScript pattern for constructing proxy objects, using classical inheritance

Although not finalized, I am experimenting with ES6 Proxies. My goal is to have a constructor function (one that utilizes classical inheritance like the one shown below) for creating proxy objects ...
Mario's user avatar
  • 6,690