3 ms·
The memory profile says otherwise, doesn't it? If you create a named function and call it like "setInterval(draw, 50)", the memory use stays constant.
by balloot 14y ago
The memory profile says otherwise, doesn't it? If you create a named function and call it like "setInterval(draw, 50)", the memory use stays constant.
- ricardobeat 14y agoDid you get that result on your machine? From all reports in that question the profile is the same regardless of the anonymous function.
- ajanuary 14y agoExcept it doesn't. At least, not when I try it.