Platypus Header

Platypus Innovation Blog

8 October 2015

Javascript Debugging - Tips & Tricks

Chrome shortcuts

control-g, open script file by name. Really useful

What modified my object? Object.observe

Object.observe(myobject, function (changes) {
   changes.forEach(function (change) {
      console.log("Property '%s' changed from '%s' to '%s'", change.name, change.oldValue, change.object[change.name]) }) })
   });
});

No comments:

Post a comment

Good-Loop Unit