Wrote an article
https://itsmycode.com/number-isinteger-javascript/