Skip to content

Nathan Mabasa's blog

Latest issue #06

The missing semicolon: JavaScript's return trap and automatic semicolon insertion

Why `return` followed by a line break returns undefined, which lines need a leading semicolon, and the lint and format settings that end the argument.

JavaScript, Engineering

Read now: The missing semicolon: JavaScript's return trap and automatic semicolon insertion
Nate Comics cover art for issue #06: The missing semicolon: JavaScript's return trap and automatic semicolon insertion

All issues

Open to senior roles · Remote, hybrid or on-site

Hiring a senior engineer who writes like this?

I'm Nathan Mabasa, a senior software engineer in Johannesburg. I build React and Next.js applications in TypeScript, plus the APIs, payments and security underneath them. Seven years across agencies and in-house teams.

One quick thing

Who's asking?

Leave your details and the CV downloads straight away. It helps me follow up about the role.

Your details go only to me, to follow up about roles. No mailing lists, nothing shared.