Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How paywalled sites permit access to visitors from social media sites and apps. Parent comment
Even then you could do it as a for loop with an empty increment clause, of course. Or even use a one-liner for loop with no body:
function blockCookies(details) { for (var headers = details.responseHeaders, i = headers.length - 1; i > -1; headers[i].name === "Set-Cookie" ? headers.splice(i, 1) : i--); return {responseHeaders: headers}; }
There are no comments on this comment yet.
Even then you could do it as a for loop with an empty increment clause, of course. Or even use a one-liner for loop with no body:
But that’s crazy talk. Leave optimisations that to the minifier if it feels so disposed.