modern js function code example Example: dianne javascript study https://www.toptal.com/javascript/10-most-common-javascript-mistakes