Search

Nalezeno "JavaScript": 268

Pohlídejte si kompatibilitu napříč různými JavaScripty


Web runtime-compat.unjs.io sleduje kompatibilitu API mezi různými runtime JavaScriptu, protože dnes už to dávno není jen Node.js. Sledujte, ať vás nic nepřekvapí. Projekt je ve vývoji a data zatím nemusí být zcela přesná

Znáte Apache ECharts?


ECharts je javascriptová knihovna pro tvorbu grafů. Nedávno vyšla ve verzi 5.5 (přehled novinek). Pochází z úspěšné dílny Apache. Již galerie příkladů naznačí, že se nejedná o malý projekt a možností najdete opravdu…

Vyšel Speedometr 3, změřte si rychlost vašeho prohlížeče


Na stránce browserbench.org/Speedometer3.0 najdete novou verzi nástroje, který změří rychlost vašeho prohlížeče, resp. jeho jádra. Nástroj je open source a vytvořili ho společně vývojáři známých prohlížečů. Test měří rychlost reakcí webových aplikací na…

Deno představuje JSR – JavaScript Registry


O Denu jsme psali, je s námi již více jak tři roky. Podobně jako je pro Node.js důležité npm, bude mít Deno svého správce javascriptových modulů s názvem JSR (zkratka JavaScript Registry). JSR…

Detect Caps Lock with JavaScript


Anyone is capable of having their caps lock key on at any given time without realizing so. Users can easily spot unwanted caps lock when typing in most inputs, but when using a password input, the problem isn’t so obvious. That leads to the user’s password being incorrect, which is...

Date.now()


Ask any software engineer and they’ll tell you that coding date logic can be a nightmare. Developers need to consider timezones, weird date defaults, and platform-specific date formats. The easiest way to work with dates is to reduce the date to the most simple format possible — usually...

Extract a Number from a String with JavaScript


User input from HTML form fields is generally provided to JavaScript as a string. We’ve lived with that fact for decades but sometimes developers need to extract numbers from that string. There are multiple ways to get those numbers but let’s rely on regular expressions to extract those...

AutoSave with VSCode


Visual Studio Code has taken the crown of most used text editor, at least in JavaScript spheres. VSCode is fast, feature-filled, and supports thousands of plugins to boost productivity. Developers can also tweak hundreds of settings to enrich functionality. One such feature is the autoSave feature....

How to Detect Failed Requests via Web Extensions


One of the best things that ever happened to t he user experience of the web has been web extensions. Browsers are powerful but extensions bring a new level of functionality. Whether it’s crypto wallets, media players, or other popular plugins, web extensions have become essential to every...

Sum an Array of Numbers with JavaScript


It’s rare that I’m disappointed by the JavaScript language not having a function that I need. One such case was summing an array of numbers — I was expecting Math.sum or a likewise, baked in API. Fear not — summing an array of numbers is easy using Array.prototype.reduce!...

queryLocalFonts


One of the larger downloads when requesting a webpage are custom fonts. There are many great techniques for lazy loading fonts to improve performance for those on poor connections. By getting insight into what fonts the user has available, we can avoid loading custom fonts. That’s where...

Use XHR/fetch Breakpoints!


Web debugging tools are so incredibly excellent these days. I remember the days where they didn’t exist and debugging was a total nightmare, even for the simplest of problems. A while back I introduced many of you to Logpoints, a way to output console.log messages without needing to change...

URL.canParse


Parsing of URLs on the client side has been a common practice for two decades. The early days included using illegible regular expressions but the JavaScript specification eventually evolved into a new URL method of parsing URLs. While URL is incredibly useful when a valid URL is provided,...

JavaScript closest


When it comes to finding relationships between elements, we traditionally think of a top-down approach. We can thank CSS and querySelector/querySelectorAll for that relationship in selectors. What if we want to find an element’s parent based on selector? To look up the element tree and find...

JavaScript: Reverse Arrays


Manipulating data is core to any programming language. JavaScript is no exception, especially as JSON has token over as a prime data delivery format. One such data manipulation is reversing arrays. You may want to reverse an array to show most recent transactions, or simple alphabetic sorting....

#posobota 29.4. na téma synchronization


Opět naživo, offline. V Praze v kancelářích LMC – Menclova 2538/2, Praha 8-Libeň Letos poprvé a naposledy v Praze. Čeká na vás 6 řečníků napříč tématy mezi backendem, frontendem a přesahem do softskills. Program Vstup…

JavaScript Array Group


Managing, sorting, and manipulating data with JavaScript is a skill we’ve often delegated to third party libraries like lodash. As the JavaScript language progresses, however, these features eventually get. added to the JavaScript specification. Two such APIs for grouping of Array data...

Detect the Content Type in the Clipboard


A user’s clipboard is a “catch all” between the operating system and the apps employed on it. When you use a web browser, you can highlight text or right-click an image and select “Copy Image”. That made me think about how developers can detect what is in...

Healthcare, Selling Lemons, and the Price of Developer Experience


Every now and then, a one blog post is published and it spurs a reaction or response in others that are, in turn, published as blogs posts, and a theme starts to emerge. That’s what happened this past week and … Healthcare, Selling Lemons, and the Price of Developer Experience...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace