We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
When called on an object, this method will create a keys property and keep it populated with the object's keys.
function MyModel() { this.users = require("push-model").trackKeys({}); this.signIn = function() { this.users[7] = {name: "Ronaldo"}; this.users[10] = {name: "Messi"}; console.log(this.users.keys); //[7,10] } }
There was an error while loading. Please reload this page.