2 ms·
True, but I figured having a two letter function was kinda useful, and HR means other things. Plus, it's a light wrapper for XHR, so hey. Another nice side eff
by antihero 12y ago
True, but I figured having a two letter function was kinda useful, and HR means other things. Plus, it's a light wrapper for XHR, so hey.
Another nice side effect is that if you use 2-spaces then your promise .then lines up with the initial call...
xr.get()
.then(...)