query: assign object and it's method to prototype
positive_passages.docid: 13705
positive_passages.text: What techniques can be used to define a class in JavaScript, and what are their trade-offs?
negative_passages.docid: 133142
negative_passages.text: JavaScript: What dangers are in extending Array.prototype?
negative_passages.docid: 76010
negative_passages.text: Can a JavaScript object have a prototype chain, but also be a function?
negative_passages.docid: 8195
negative_passages.text: How do I make a callable JS object with an arbitrary prototype?
negative_passages.docid: 31157
negative_passages.text: Javascript object members that are prototyped as arrays become shared by all class instances
negative_passages.docid: 628
negative_passages.text: How to create a new object instance from a Type
negative_passages.docid: 122598
negative_passages.text: How to implement inheritance in JS Revealing prototype pattern?
negative_passages.docid: 125549
negative_passages.text: Does assigning null remove all event handlers from an object?
negative_passages.docid: 98813
negative_passages.text: Is it Possible to Dynamically Change Object Materals?
negative_passages.docid: 2863
negative_passages.text: How do I correctly clone a JavaScript object?
negative_passages.docid: 142972
negative_passages.text: Javascript assigning value to primitive
negative_passages.docid: 57044
negative_passages.text: What does return this in Function.prototype.method do?
negative_passages.docid: 124400
negative_passages.text: Why is mutating the [[prototype]] of an object bad for performance?
negative_passages.docid: 24782
negative_passages.text: Accessing private member variables from prototype-defined functions
negative_passages.docid: 14412
negative_passages.text: Create an empty object in JavaScript with {} or new Object()?
negative_passages.docid: 10447
negative_passages.text: Adding a Method to an Existing Object Instance
negative_passages.docid: 31399
negative_passages.text: Add JavaScript object to JavaScript object