npm install object-idnode.js:
``bash`
npm install object-id
browser:
`bash`
component install viatropos/object-id
`js``
var id = require('object-id');
var obj = { foo: 'bar' };
id(obj);
console.log(obj.__id__);
- http://stackoverflow.com/questions/17934888/how-to-add-non-enumerable-property-in-javascript-for-ie8/17935125#17935125
MIT