Debian Codegraph @

.cargo/vendor/js-sys/tests/wasm/Proxy.js

raw
1 exports.proxy_target = function() {
2 return { a: 100 };
3 };
4
5 exports.proxy_handler = function() {
6 return {
7 get: function(obj, prop) {
8 return prop in obj ? obj[prop] : 37;
9 }
10 };
11 };