If you ever need to create a JavaScript function that accepts an unknown number of arguments, rest parameter is your guy.
#javascript#javascripttips#coding
The Return Early Pattern in #JavaScript
✅ Reduce the amount of code
✅ Easier to read
✅ Execute less code by exit the function as soon it have the response
#webdev#javascripttips
Day 10 - #JavaScript if else statements today. Finding getting the punctuation of the variables a bit difficult to get right, but hoping it will come with a bit more practice - any tips appreciated!
#100daysofcodechallenge#javascripttips
🔍 Want to check if an array contains a specific value? Use the Array.includes() method! It returns true if the value is found, and false otherwise. It's a neat alternative to indexOf().
#JavaScriptTips#webdevelopment