I design .

I'm Ketan ‐ A Melbourne web designer and developer
with over 20 years of industry experience.

Head icon.

The early return pattern in JavaScript

← Journal

With the early return pattern, you check for the opposite of the thing you want, and return early to end the function when that’s the case.

Read the full article on gomakethings.com


Sketch sitemap library available for US$14 on Gumroad.