---
title: "Simon Scarfe (@si) | Hashnode"
description: "Software Engineering Team Lead moving back to being an engineer @ BBC. Read the latest articles by Simon Scarfe on Hashnode."
url: "https://hashnode.com/@si"
---

@si

# Simon Scarfe

@si · Manchester, UK · Joined August 2020

Software Engineering Team Lead moving back to being an engineer @ BBC

[Website](https://www.breakfastdinnertea.co.uk/)

## Comments

[Great list - lots of lovely little tidbits, especially the isRequired helper function. Love that! You have to be slightly careful with the default or in 5, though. If age is 0, it will overwrite it (making your new born person object a 35 year old 😉). A safer, albeit slightly less-well-supported (IE doesn't know about it), way of attacking it is to use the nullish coalescing operator - ?? which returns truthy values such as 0. More info available on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish\_coalescing\_operator](https://hashnode.com/posts/my-favorite-javascript-tips-and-tricks/5f203086ba06442180226d0f/comment/5f255e52669da9610ee17812)

Comment · Article · Aug 1, 2020 · [My Favorite JavaScript Tips and Tricks](https://hashnode.com/posts/my-favorite-javascript-tips-and-tricks/5f203086ba06442180226d0f)
