techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#js

5 posts4 participants0 posts today
Lea Verou, PhD<p><a href="https://front-end.social/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> quiz time Part 2!</p><p>Without trying it out, what do you think the following will print?</p><p>async function foo () {<br> console.log(1);<br> let v = 2;<br> if (v instanceof Promise) await v;<br> console.log(2);<br>}<br>function bar() {<br> console.log('bar');<br>}</p><p>foo();<br>bar();</p><p>Part 1: <a href="https://front-end.social/@leaverou/114915308329301004" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">front-end.social/@leaverou/114</span><span class="invisible">915308329301004</span></a></p>
Lea Verou, PhD<p><a href="https://front-end.social/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> quiz time!</p><p>Without trying it out, what do you think the following will print?</p><p>async function foo () {<br> console.log(1);<br> let v = 2;<br> await v;<br> console.log(2);<br>}<br>function bar() {<br> console.log('bar');<br>}</p><p>foo();<br>bar();</p>
Josh “Yoshi” Vickerson<p>“Browsers are evolving to reward simplicity and resilience. They’re building for the kind of web we should have been embracing all along.”</p><p><a href="https://www.jonoalderson.com/conjecture/its-time-for-modern-css-to-kill-the-spa/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">jonoalderson.com/conjecture/it</span><span class="invisible">s-time-for-modern-css-to-kill-the-spa/</span></a></p><p><a href="https://vickerson.me/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://vickerson.me/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> <a href="https://vickerson.me/tags/SPA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SPA</span></a> <a href="https://vickerson.me/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://vickerson.me/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://vickerson.me/tags/PerfMatters" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PerfMatters</span></a></p>
Tanguy ⧓ Herrmann<p>Do you want to raise your blood pressure level?</p><p><a href="https://jsdate.wtf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jsdate.wtf</span><span class="invisible"></span></a></p><p><a href="https://hachyderm.io/tags/wtf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wtf</span></a> <a href="https://hachyderm.io/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://hachyderm.io/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a></p>
Roy Tang 🇵🇭<p>Shared: JavaScript broke the web (and called it progress) - Jono Alderson <a href="https://www.jonoalderson.com/conjecture/javascript-broke-the-web-and-called-it-progress/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">jonoalderson.com/conjecture/ja</span><span class="invisible">vascript-broke-the-web-and-called-it-progress/</span></a>. </p><p>&gt; "The web isn’t broken by accident. It’s broken by design. And we don’t have to accept it."</p><p><a href="https://indieweb.social/tags/Js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Js</span></a> <a href="https://indieweb.social/tags/Web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Web</span></a></p>
Zuri (he/him) 🕐 CET<p>I scored 13/28 on <a href="https://jsdate.wtf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jsdate.wtf</span><span class="invisible"></span></a> and all I got was this lousy text to share on social media.</p><p>But jokes aside, I had great fun—and quite a few headscratches, yaw drops, and sighs 😅 </p><p><a href="https://jsdate.wtf/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jsdate.wtf/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.online/tags/amCoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amCoding</span></a> <a href="https://mastodon.online/tags/amProgramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>amProgramming</span></a> <a href="https://mastodon.online/tags/softwareDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwareDevelopment</span></a> <a href="https://mastodon.online/tags/softwareEngineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwareEngineering</span></a> <a href="https://mastodon.online/tags/webDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDevelopment</span></a> <a href="https://mastodon.online/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mastodon.online/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> <a href="https://mastodon.online/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.online/tags/ECMAScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ECMAScript</span></a> <a href="https://mastodon.online/tags/js_dates" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js_dates</span></a> <a href="https://mastodon.online/tags/wtfjs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wtfjs</span></a></p>
dusoft<p>So simple: disable Javascript (via developer console settings in your browser) to read full-length articles that are otherwise paywalled. Hmm, do they (Verge and others) really make that intentional or they just overlook it? <a href="https://fosstodon.org/tags/paywall" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>paywall</span></a> <a href="https://fosstodon.org/tags/news" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>news</span></a> <a href="https://fosstodon.org/tags/articles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>articles</span></a> <a href="https://fosstodon.org/tags/browser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>browser</span></a> <a href="https://fosstodon.org/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> <a href="https://fosstodon.org/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://fosstodon.org/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a></p>
N-gated Hacker News<p>Oh, great, the EPA's grand masterplan to save the environment: cut out the pesky "science" part entirely! Because who needs expert research when you can just guess? 🙄🔮 Now, back to enabling <a href="https://mastodon.social/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> like it's 1995. 🕹️<br><a href="https://www.nytimes.com/2025/07/18/climate/epa-firings-scientific-research.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">nytimes.com/2025/07/18/climate</span><span class="invisible">/epa-firings-scientific-research.html</span></a> <a href="https://mastodon.social/tags/EPA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EPA</span></a> <a href="https://mastodon.social/tags/science" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>science</span></a> <a href="https://mastodon.social/tags/environment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>environment</span></a> <a href="https://mastodon.social/tags/expertresearch" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expertresearch</span></a> <a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/ngated" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ngated</span></a></p>
gary<p><span class="h-card" translate="no"><a href="https://infosec.exchange/@da_667" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>da_667</span></a></span> it sounds pretty typical but probably also an opportunity <a href="https://infosec.exchange/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> engines <a href="https://infosec.exchange/tags/immutable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>immutable</span></a> binaries</p>
Simon 🐮<p>I mean... Fuck You <a href="https://cloudisland.nz/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> <a href="https://cloudisland.nz/tags/Date" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Date</span></a>. <a href="https://cloudisland.nz/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> is really weird</p>
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕<p>Satisfies in TypeScript</p><p>This is a post about one of TypeScript’s less common features: the satisfies keyword. It’s occasionally incredibly useful, and knowing how to properly wield it is a valuable trick to have up your sleeve. Let’s take a look!</p><p>🧑‍💻 <a href="https://frontendmasters.com/blog/satisfies-in-typescript/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">frontendmasters.com/blog/satis</span><span class="invisible">fies-in-typescript/</span></a></p><p><a href="https://chaos.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://chaos.social/tags/typescript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>typescript</span></a> <a href="https://chaos.social/tags/statisfied" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>statisfied</span></a> <a href="https://chaos.social/tags/keyword" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>keyword</span></a> <a href="https://chaos.social/tags/ts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ts</span></a> <a href="https://chaos.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://chaos.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://chaos.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://chaos.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://chaos.social/tags/useful" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>useful</span></a> <a href="https://chaos.social/tags/structural" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>structural</span></a> <a href="https://chaos.social/tags/structure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>structure</span></a> <a href="https://chaos.social/tags/trick" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trick</span></a> <a href="https://chaos.social/tags/objectoriented" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>objectoriented</span></a></p>
shevabam<p>🔔 Nouvel article ! 🔔<br>🆕 Mettez du CSS dans vos console.log</p><p><a href="https://blog.shevarezo.fr/post/2025/07/16/css-dans-console-log" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.shevarezo.fr/post/2025/07</span><span class="invisible">/16/css-dans-console-log</span></a></p><p><a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> <a href="https://mastodon.social/tags/debug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>debug</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mastodon.social/tags/devweb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>devweb</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a></p>
Ryan Daws 🤓<p>Next.js 15.4 update boosts Turbopack ahead of version 16 <a href="https://www.developer-tech.com/news/next-js-15-4-update-boosts-turbopack-ahead-version-16/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">developer-tech.com/news/next-j</span><span class="invisible">s-15-4-update-boosts-turbopack-ahead-version-16/</span></a> <a href="https://techhub.social/tags/nextjs" class="mention hashtag" rel="tag">#<span>nextjs</span></a> <a href="https://techhub.social/tags/javascript" class="mention hashtag" rel="tag">#<span>javascript</span></a> <a href="https://techhub.social/tags/react" class="mention hashtag" rel="tag">#<span>react</span></a> <a href="https://techhub.social/tags/coding" class="mention hashtag" rel="tag">#<span>coding</span></a> <a href="https://techhub.social/tags/programming" class="mention hashtag" rel="tag">#<span>programming</span></a> <a href="https://techhub.social/tags/developers" class="mention hashtag" rel="tag">#<span>developers</span></a> <a href="https://techhub.social/tags/js" class="mention hashtag" rel="tag">#<span>js</span></a> <a href="https://techhub.social/tags/opensource" class="mention hashtag" rel="tag">#<span>opensource</span></a> <a href="https://techhub.social/tags/tech" class="mention hashtag" rel="tag">#<span>tech</span></a> <a href="https://techhub.social/tags/news" class="mention hashtag" rel="tag">#<span>news</span></a> <a href="https://techhub.social/tags/technology" class="mention hashtag" rel="tag">#<span>technology</span></a></p>
//devdigest<p>⚡️ ASP.NET Core and Blazor Get Most Updates in .NET 6 Preview 6</p><p>🏷️ <a href="https://mastodon.social/tags/devdigest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>devdigest</span></a> <a href="https://mastodon.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> <a href="https://mastodon.social/tags/net" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>net</span></a> <a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mastodon.social/tags/maui" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>maui</span></a> <a href="https://mastodon.social/tags/blazor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blazor</span></a> <a href="https://mastodon.social/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.social/tags/aspnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aspnet</span></a> <a href="https://mastodon.social/tags/asp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>asp</span></a></p><p><a href="https://devdigest.today/goto/4701" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">devdigest.today/goto/4701</span><span class="invisible"></span></a></p>
That HTML Blog & The Spicy Web<p>I almost titled this “Yo dawg, I herd you like windows so I put windows in yo windows so you can use windows while ur using windows” 😂</p><p>Here's the deal:</p><p>I’ve been mulling over some interface concepts for a new app I’m designing, and it occurred to me it might make sense to use an old-school desktop metaphor for organizing the “documents”.</p><p>All of a sudden I wondered: maybe there’s already a good <a href="https://intuitivefuture.com/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> library which can do the heavy lifting for me? Answer: there is! <a href="https://intuitivefuture.com/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a><br><a href="https://thathtml.blog/2025/07/put-windows-in-your-web-app-with-winbox/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">thathtml.blog/2025/07/put-wind</span><span class="invisible">ows-in-your-web-app-with-winbox/</span></a></p>
Chris Smith<p>If you like a bit of JavaScript weirdness, you'll love this. I scored a massive 9/28.</p><p><a href="https://jsdate.wtf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jsdate.wtf</span><span class="invisible"></span></a></p><p>JavaScript Date is something else.</p><p><a href="https://mastodon.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mastodon.social/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a></p>
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕<p>What’s the difference between ordinary functions and arrow functions in JavaScript?</p><p>Arrow functions (also known as ‘rocket’ functions) are concise and convenient. However, they have subtle differences compared to function declarations and function expressions. So how do you know which one to use, and when?</p><p>🧑‍💻 <a href="https://jrsinclair.com/articles/2025/whats-the-difference-between-named-functions-and-arrow-functions/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jrsinclair.com/articles/2025/w</span><span class="invisible">hats-the-difference-between-named-functions-and-arrow-functions/</span></a></p><p><a href="https://chaos.social/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://chaos.social/tags/arrow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>arrow</span></a> <a href="https://chaos.social/tags/functions" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>functions</span></a> <a href="https://chaos.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://chaos.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://chaos.social/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://chaos.social/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://chaos.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://chaos.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://chaos.social/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a></p>
Magnus Rode<p><span class="h-card" translate="no"><a href="https://freie-re.de/@qbi" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>qbi</span></a></span> <a href="https://colearn.social/tags/wtf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wtf</span></a> Ich weiß, warum ich "anständige" Programmierersprachen <a href="https://colearn.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> vorziehe. Aber schon cool, wie viel "Interpretationsspielraum" der Interpreter hier bietet. Das hätte ich nicht erwartet.</p><p>btw: I scored 10/28 on <a href="https://jsdate.wtf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jsdate.wtf</span><span class="invisible"></span></a> and all I got was this lousy text to share on social media.</p>
pinage404.rss :nixos:<p>I scored 8/28 on <a href="https://jsdate.wtf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jsdate.wtf</span><span class="invisible"></span></a> and all I got was this lousy text to share on social media.</p><p><a href="https://mamot.fr/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> <a href="https://mamot.fr/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mamot.fr/tags/Date" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Date</span></a> <a href="https://mamot.fr/tags/DateFormats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DateFormats</span></a> <a href="https://mamot.fr/tags/Dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Dev</span></a> <a href="https://mamot.fr/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
d17e (David Vandenbogaerde)<p><a href="https://mastodon.social/tags/rstr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstr</span></a> <a href="https://mastodon.social/tags/svg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>svg</span></a> <a href="https://mastodon.social/tags/creativecoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>creativecoding</span></a> <a href="https://mastodon.social/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://mastodon.social/tags/workingprogress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>workingprogress</span></a><br> <br><a href="https://genuary24.d17e.dev/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">genuary24.d17e.dev/</span><span class="invisible"></span></a></p>