Getting rate limit response headers in javascript

Hi Alca

Thanks for the suggestions but I get the same issue:

Got user data unshapedAdrian (45471252)
NaN/NaN calls remain for 0 seconds.

Basically from debugging it looks like the headers on the response are not available and so when I try to parse them out using your code I just get NaN.

I’m running this inside Chrome, I guess (as it worked for you) that you are running outside a browser is that correct.

Thanks again
Adrian