Guest User

Untitled

a guest
May 27th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. require("overload").Watchable(
  2. function(argInfo){
  3. return typeof(argInfo.property)=='number'
  4. ? proxiedObj.item(argInfo.property)
  5. : proxiedObj[argInfo.property];
  6. }
  7. ,function(argInfo){return proxiedObj[argInfo.property]=argInfo.value}
  8. ,function(){return Object.getPropertyNames(proxiedObj)}
  9. ,function(argInfo){return argInfo.property in proxiedObj}
  10. ,function(argInfo){proxiedObj[delete argInfo.property]}
  11. )
Add Comment
Please, Sign In to add comment