query: converting snippet of code to method in javascript
positive_passages.docid: 317
positive_passages.text: What is the scope of variables in JavaScript?
negative_passages.docid: 118828
negative_passages.text: Complicated FOR loop nesting. Having trouble cleaning up legacy code
negative_passages.docid: 134056
negative_passages.text: Calling method using JavaScript prototype
negative_passages.docid: 117930
negative_passages.text: Can a method be used as either a staticmethod or instance method?
negative_passages.docid: 98914
negative_passages.text: Converting from String to
negative_passages.docid: 105782
negative_passages.text: Wrapping code (listings, verbatim, or other method) inside a newcommand
negative_passages.docid: 135203
negative_passages.text: can this code be shortened or improved?
negative_passages.docid: 132548
negative_passages.text: Formatting Literal parameters of a C# code snippet
negative_passages.docid: 102053
negative_passages.text: Creating a selector from a method name with parameters
negative_passages.docid: 24681
negative_passages.text: Creating a new DOM element from an HTML string using built-in DOM methods or Prototype
negative_passages.docid: 69672
negative_passages.text: How to call out javascript function which is assigned to a variable?
negative_passages.docid: 123237
negative_passages.text: Class methods as event handlers in JavaScript?
negative_passages.docid: 139760
negative_passages.text: Implementing a method taking a block to use as callback
negative_passages.docid: 42944
negative_passages.text: How to loop through a plain JavaScript object with the objects as members?
negative_passages.docid: 47341
negative_passages.text: How do you convert a jQuery object into a string?
negative_passages.docid: 41562
negative_passages.text: Embed the existing code of a method in a try-finally block (2)
negative_passages.docid: 139343
negative_passages.text: Exploiting JavaScript's eval() method