Fun read of the day: #JavaScript #antidebugging techniques: https://x-c3ll.github.io/posts/javascript-antidebugging/#0x03-differences-of-time
A more complete repository with references here (which includes a link to the previous one):
https://github.com/weizman/awesome-javascript-anti-debugging