If you move the console log inside the apply, does...
# general
s
If you move the console log inside the apply, does that do what you expect?