What’s the deal with these string methods, and how are they different?
Continue reading "Should I substr(), substring(), or slice()?".Tag: JavaScript
6 posts • View all posts
Wikipedia's JavaScript initialisation on a budget
This week saw the conclusion of a project I've been shepherding since September of last year. The goal was for the initialisation code for our JavaScript pipeline to fit within a budget of 28 KB.
Continue reading "Wikipedia's JavaScript initialisation on a budget".How to protect yourself from npm
What’s the worst that could happen after npm install?
Continue reading "How to protect yourself from npm".Measuring Wikipedia page load times
This post shows how we measure and interpret load times on Wikipedia. It also explains what real-user metrics are, and how percentiles work.
Continue reading "Measuring Wikipedia page load times".QUnit anti-patterns
Today, I’d like to challenge the assert.ok
and assert.not*
methods. I believe they may’ve become an anti-pattern.
PhantomJS for CI (anno 2014)
How did Apple create Safari, and what is PhantomJS?
Continue reading "PhantomJS for CI (anno 2014)".