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.

2
  • Thank you for your answer! Basicly I need an instance of this var tst = new UserStat(arr) which stores data from arr, but when I call tst.day(date) I'd like to receive every info about the date i passed in from the arr object. Like tst.day(date).a as an integer for example. Commented Oct 25, 2012 at 22:29
  • Thanks, finally I figured out base on your answers second part, but I think there is no need for the (dateofday) part at the end. Commented Oct 25, 2012 at 22:46