Message from JavaScript discussions

September 2020

— Let me know if u find out


"progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications" from their GitHub bio. As for why, this is a good read:

— I have jQuery on my website and later a script (inside the HTML) that is using jQuery.

— But sometimes I get the error Uncaught ReferenceError: $ is not defined

— Thanks

— How is that possible? Shouldn't the second script only start executing after jQuery is done?

— Depends on the script tags

— Do any scripts have async or defer attributes? (or other attributes like that)

— Wtf

— Okay medium is officially dead

— <script src=""></script>
<script data-cookieconsent="ignore"> var dateien=['blabla','blabla']; $(document).ready(function() {for(var i in dateien){console.log(dateien[i]);var element = document.createElement("script");element.src = dateien[i];document.body.appendChild(element);}});</script>

Message permanent page

— That looks like it should never fail