Bck2Brwsr 0.10

From APIDesign

(Difference between revisions)
Jump to: navigation, search

JaroslavTulach (Talk | contribs)
(New page: Using Object.defineProperty to make sure the JavaScript Object has all the methods of {{JDK|java/lang|Object}}, while those methods do not show up during iteration <source lang="java...)
Next diff →

Revision as of 14:54, 27 August 2014

Using Object.defineProperty to make sure the JavaScript Object has all the methods of Object, while those methods do not show up during iteration

for (var p in anObject) {
  console.log('A prop found ' + p);
}
Personal tools
buy