mirror of
https://git.proxmox.com/git/rustc
synced 2025-10-21 06:18:29 +00:00
12 lines
197 B
JavaScript
12 lines
197 B
JavaScript
exports.proxy_target = function() {
|
|
return { a: 100 };
|
|
};
|
|
|
|
exports.proxy_handler = function() {
|
|
return {
|
|
get: function(obj, prop) {
|
|
return prop in obj ? obj[prop] : 37;
|
|
}
|
|
};
|
|
};
|