136 reputation
2
bio website
location Montreal, Canada
age 31
visits member for 3 years, 8 months
seen Jul 31 at 2:04

Feb
16
comment What is your most unusual javascript concept you've ever seen?
@ChrisF, I see.
Feb
16
comment What is your most unusual javascript concept you've ever seen?
@Anna, I thought the "community wiki" posts existed for that reason.
Feb
16
comment What is your most unusual javascript concept you've ever seen?
@capdragon, oh yes sorry. You actually call the getter function and passes something in parameter. The function will match input against a literal object and if found, returns it's value. If not found, it will check if you have defined something and will return it or return the default value instead. getter('foo2') == 'bar2', getter('somethingelse') == 'something else', getter() == 'default'. I have seen that somewhere but I haven't used that concept yet.
Feb
16
comment What is your most unusual javascript concept you've ever seen?
Yes indeed it's very clean.
Feb
3
awarded  Supporter
Feb
3
awarded  Student
Feb
2
asked What is your most unusual javascript concept you've ever seen?