Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • First, hello amon and thank you. Second, I'm using those functions for XmlHttpRequest.onstatechange so those are called without parameters (something like: xhr[0].onstatechange=F0; xhr[1].onstatechange=F1;) so unfortunately, it doesn't fit. I'm looking for a way to prototype just the function and than create a few "instances" of it, differentiated by an index within those function themselves. Commented Mar 26, 2016 at 12:28
  • @Alex ah, that makes sense. See update. Commented Mar 26, 2016 at 12:30