Photo by Mika Baumeister on Unsplash
Another ✔||🤢, casting to number with +;
Actually found this one in the angular documentation at some point.
// example: numberInputField.value = "3"
const startValue: number = +numberInputField.value;
casting to number with + ✔||🤢
❤: Commit (something I could commit)
🏷: Vomit (I'd never commit this)
🦄: I like your post please continue this series!
Let's vote! 😊