If you ever need to create a JavaScript function that accepts an unknown number of arguments, rest parameter is your guy.
#javascript#javascripttips#coding
⚡ In #JavaScript, objects are a reference type.
Two distinct objects are never equal, even if they have the same properties.
✔ Only comparing the same object reference with itself yields true.
#javascript#javascripttips