Movatterモバイル変換


[0]ホーム

URL:


はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

タグ

関連タグで絞り込む (182)

タグの絞り込みを解除

JavaScriptに関するjay-esのブックマーク (634)

UseJavaScript's 'cause' property to chainerrors, preserve context, andsimplify debugging. Cleaner stack traces, better test assertions.

Error chaining in #
jay-es
jay-es2025/11/15非公開
Error.cause の説明
  • JavaScript engines zoo

    Engine Score Binary LOC Language JIT Years Target ES1-5 ES6 ES2016+ Stars Contributors Org License Description

    jay-es
    jay-es2025/11/15非公開
    120 個以上の JavaScript エンジンをまとめた表。スコアやサイズなどの順でソート可能
    • Web Locks APIでマルチタブのアクセストークン更新競合を防ぐ【AI生成】

      この記事は生成AI(Claude Code)が書いた記事です。前回のAI生成記事の試みから、さらに投稿者(人間)の文体を学習させ、投稿者の記事に近いスタイルになったので、その成果発表でもあります。 前回同様、投稿者が自分で書いた記事に比べると至らない点はあるものの、技術記事としての妥当性については投稿者が責任を負うものです。 ただし、筆者の経験(社内のダッシュボードアプリケーションとか)については完全にAIによる捏造である点はあらかじめご了承ください。 皆さんこんにちは。最近、SPAアプリケーションでアクセストークンの定期更新を実装する際に、マルチタブ環境でのトークン更新の重複という問題に遭遇しました。この記事では、Web LocksAPIを使ってこの競合を防ぐ方法を紹介します。 問題:マルチタブでのトークン更新の重複 SPAアプリケーションでは、ユーザーがアプリケーションを開いている間

      Web Locks APIでマルチタブのアクセストークン更新競合を防ぐ【AI生成】
      jay-es
      jay-es2025/11/11非公開
      Web Locks API はブラウザ組込の排他制御機構。同一オリジン内の複数タブやワーカー間でリソースへのアクセスを制御可能
      • GitHub - yarlson/vite-plugin-use-golang

        jay-es
        jay-es2025/11/02非公開
        JavaScript ファイル内に Golang のコードを書ける Vite プラグイン。ファイル先頭で "use golang" を指定すると WASM に変換される。おもしろいがエディターのシンタックスハイライトやコード補完のために一工夫必要な気がする
        • Why NaN !== NaN in JavaScript (and the IEEE 754 story behind it)

          We get the type number in response. Since something is a number,logic suggests we can perform mathematical operations onit. So let’s try adding something toit or checkingits maximum or minimum value.

          Why NaN !== NaN in JavaScript (and the IEEE 754 story behind it)
          jay-es
          jay-es2025/11/01非公開
          NaN (Not a Number) についての深堀り記事。JavaScript の話だけでなく、NaN は IEEE 754 浮動小数点標準に由来していて 1985 年から存在していることなどを解説
          • Why typeof null === object

            You can notice that the high bits are responsible for defining the data type, and the low bits for the payload or the address of the allocated object on the heap. So in this case, our true/false is represented in binary as 1/0. You’re probably wondering what this has to do with typeof null returning object instead of null. To understand this, we need togo back 30 years to the originalJavaScript

            Why typeof null === object
            jay-es
            jay-es2025/10/18非公開
            typeof null が "object" を返す理由についての深堀り
            • How to group arrays in JavaScript without reduce() - Matt Smith

              Front-end developers frequently transform arrays: filtering,mapping, reducing. And sometimes grouping. Grouping used to require custom reduce()logic, which often felt like more boilerplate thanit was worth. But that’s changing.JavaScript now has native support for grouping data with Object.groupBy() andMap.groupBy(). These static methods make grouping expressive, concise, and far more readabl

              How to group arrays in JavaScript without reduce() - Matt Smith
              jay-es
              jay-es2025/10/12非公開
              JavaScript で配列をグループ化する際に、従来の冗長な reduce() メソッドではなく ES2024 で新たに導入された Object.groupBy() と Map.groupBy() を使うことで、読みやすく効率的なコードにできる
              • Homepage » Jeasx - JSX with Ease

                The Ease of JSX with the power of SSR The developer experience of asynchronous JSX with the proven benefits of server-side rendering, resulting in a robust and streamlined web development approach. export default async function ({ request, reply }) { const id = request.query["id"]; const { name, ingredients, instructions, image } = await ( await fetch(`https://dummyjson.com/recipes/${id}`) ).json(

                jay-es
                jay-es2025/10/05非公開
                JSX をベースにしたサーバーサイドレンダリングフレームワーク。シンプルさを追求
                • I want to intercept Boolean Coercion for Objects in JavaScript—zachleat.com

                  jay-es
                  jay-es2025/10/04非公開
                  `!!(new Boolean(false))` が true になってしまうのを何とかして回避したい(が解決策は見つかっていない)という記事
                  • You Can Now Make PS2 Games in JavaScript

                    I recently discovered that you could make PS2 games inJavaScript. I’m not even kidding,it’s actually possible. I was working on a project and had my phone near my desk when I received a notification. Upon further inspection,it came fromitch.io which was a platform where I usually published most of my web games. Under my relatively popular Sonic infinite runner game which was made inJavaScript

                    You Can Now Make PS2 Games in JavaScript
                    jay-es
                    jay-es2025/10/04非公開
                    JavaScript で PlayStation 2 用のゲームを開発する方法
                    • fp-filters - v0.5.5

                      jay-es
                      jay-es2025/09/07非公開
                      Array.prototype.filter() のコールバックで使うための関数コレクション。dates.filter(isWeekend) や nums.filter(isBetween(5, 10)) のようなヘルパー関数が 130 以上ある
                      • Why do browsers throttle JavaScript timers?

                        Even if you’ve been doingJavaScript for a while, you might be surprised to learn that setTimeout(0) is not really setTimeout(0). Instead,it could run 4 milliseconds later: const start = performance.now() setTimeout(() => { // Likely 4ms console.log(performance.now() - start) }, 0) Nearly a decade ago when I was on theMicrosoft Edge team,it was explained to me that browsers did this to avoid “a

                        • JavaScript’s trademark problem

                          In thisblog post, we discussOracle’s trademark of the word “JavaScript”: What are the problems caused by that trademark? How can we fix those problems?Oracle has a trademark for the word “JavaScript”  #Oracle inherited the trademark for the word “JavaScript” from Sun Microsystems, along with a trademark for “Java”. What does that mean? “[...] using the word “JavaScript” to describe your work,

                          jay-es
                          jay-es2025/08/30非公開
                          Oracle が "JavaScript" の商標を保有していることで、その言語標準が ECMAScript という別の名前になってしまっている問題。解決策は、Oracle に商標破棄させる、別の新しい名前にする、名前を使わず JS と呼ぶ、など)
                          • Faceclick: A lightweight Emoji picker with keyword search - ratfactor

                            jay-es
                            jay-es2025/08/23非公開
                            Faceclick という絵文字ピッカーの制作過程で、ファイルサイズを可能な限り小さくするために行ったことの説明
                            • The Power Of The Intl API: A Definitive Guide To Browser-Native Internationalization — Smashing Magazine

                              Internationalization isn’tjust translation.It’s about formatting dates, pluralizing words, sorting names, and more, all according to specific locales. Instead of relying on heavy third-party libraries, modernJavaScript offers the IntlAPI — a powerful, native way to handle i18n. A quiet reminder that the web truly is worldwide.It’s a common misconception that internationalization (i18n) issim

                              The Power Of The Intl API: A Definitive Guide To Browser-Native Internationalization — Smashing Magazine
                              jay-es
                              jay-es2025/08/23非公開
                              Intl API のガイド
                              • Monads explained in JavaScript

                                Post contents I dunno about you, but I'm sick of hearing peopleobsessed with functionalprogramming talking about "monads". Like, I've been an engineer for years and never understood them. And I've seen monads explained in abunch of different ways: Visually In a 15 minute YouTube video Explored in 4 differentprogramming languages Compared to burritos Visually compared to burritos As the memable

                                Monads explained in JavaScript
                                jay-es
                                jay-es2025/08/12非公開
                                関数型プログラミングの概念、モナドについて JavaScript の Promise を例に説明。データをラップ、コンテキストを追加、不変操作を通じてチェイン可能にするという特性。3 つのモナド則についてもコードを交え解説
                                • 命令的な ARIA ライブリージョン:ARIA Notifyの紹介

                                  こんにちは、フロントエンドエンジニアの mehm8128 です。 今回は新しく検討されている ARIA NotifyAPI について紹介します。 ARIA Notify とは ARIA Notify とは、既存の ARIA ライブリージョンにおける問題点を基に検討されている、新しいAPI です。document.ariaNotify() のように命令的に呼び出すことで、スクリーンリーダーや点字ディスプレイなどの支援技術に情報を伝えることができます。 ただし、既存のライブリージョンを完全に置き換えるものではありません。来の目的で利用されているライブリージョンはそのままで良く、意図しない用いられ方をしてしまっている部分で、より正確に支援技術に情報を通知するためのAPI となっています。 現在は仕様の議論段階で、最低限の機能が入ったAPI が Edge では 136 以降の Origi

                                  命令的な ARIA ライブリージョン:ARIA Notifyの紹介
                                  jay-es
                                  jay-es2025/07/31非公開
                                  宣言的な aria-live とは対象的に、JavaScript から任意のタイミングで通知するための ariaNotify が提案されている。priority オプション "high" | "normal" で明示的に優先度を設定可能
                                  • EsJS: JavaScript con sintaxis en Español

                                    Sintaxis en EspañolEsJS es ideal para personas hispanohablantes que quieren comenzar a programar, ya que las instrucciones están escritas en Español MultiplataformaEsJS puede ser utilizado tanto del lado del Servidor como del Cliente, gracias a su conversión aJavaScript Basado enJavaScriptEsJS aprovecha todo el potencial deJavaScript, uno de los lenguajes de programación más utilizados en el mu

                                    EsJS: JavaScript con sintaxis en Español
                                    jay-es
                                    jay-es2025/07/26非公開
                                    スペイン語で JavaScript を記述するためのコンパイラ。予約後、定数、グローバルオブジェクトとそのメソッドなどがすべでスペイン語になっている
                                    • es-toolkit

                                      Best performancees-toolkit delivers 2-3× better performance in modernJavaScript runtimes compared to other libraries. Smallbundle footprintes-toolkit ships up to 97% lessJavaScript code compared to other alternative libraries.

                                      jay-es
                                      jay-es2025/07/26非公開
                                      lodash と互換があり、より高速でバンドルサイズも小さいユーティリティーライブラリ
                                      • 残りのブックマークを読み込んでいます12345678910次のページ
                                      • お知らせ

                                        もっと読む

                                        公式Twitter

                                        • @HatenaBookmark

                                          リリース、障害情報などのサービスのお知らせ

                                        • @hatebu

                                          最新の人気エントリーの配信

                                        処理を実行中です

                                        キーボードショートカット一覧

                                        j次のブックマーク

                                        k前のブックマーク

                                        lあとで読む

                                        eコメント一覧を開く

                                        oページを開く

                                        はてなブックマーク

                                        公式Twitter

                                        はてなのサービス

                                        • App Storeからダウンロード
                                        • Google Playで手に入れよう
                                        Copyright © 2005-2025Hatena. All Rights Reserved.
                                        設定を変更しましたx

                                        [8]ページ先頭

                                        ©2009-2025 Movatter.jp