Destructuring in JavaScript isn’t just for objects. You can swap variables without a temp variable:
[a, b] = [b, a]; Clean and clever
#JavaScriptTricks
😉 JavaScript aka JS in Workers CloudFlare 🧡
If you know enthusiasts of this business, programming. Or an enthusiast yourself and Wrangler is your loyal companion, write me or us at @eglotecom 💙 Any ideas 🤣😂 about #javascripting or #javascripttricks and #workerscloudflare