last day (14 days later) »
Feeds
09:20
Florian Margaine
has added
Zirak
to the
list of this room's owners
.
Florian Margaine
@Zirak see deleted message ^
Zirak
I'll tell you this: You can solve the
this
problem with a hackish workaround (I'll leave this part to your imagination)
...which isn't really helpful
But Indian is pretty much the standard solution
Florian Margaine
@Zirak yeah, using a generated variable name (like jquery's jsonp function) and replacing, using esprima
but that's kinda ugly
Zirak
There's a less hackish way
Think about how
this
gets its value
Florian Margaine
using Array.prototype.forEach
?
hm
Zirak
09:25
That's cute, I had something simpler in mind but that'll work
Florian Margaine
I can use
defineProperty
on
this
? I don't think so...
Zirak
Even if you could, what'd you
defineProperty
on?
Florian Margaine
I could make the function a method of an object...
Zirak
Yep!
Florian Margaine
smart
@Zirak how did you like this hint :D
Zirak
09:40
@FlorianMargaine It was cute, I wonder if he got it though
Florian Margaine
@Zirak yeah I'm not sure he did...
he said he did though, so I'll trust him
last day (14 days later) »
all rooms
Transcript for
Oct '14
13
Oct
27
Room for Florian Margaine and Zirak
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile