https://medium.com/@aashayshah28/developers-should-be-familiar-with-these-javascript-tips-and-tricks-76a5acc84ec