Melin's Blog

Latest posts

See all posts
  • Watching the DOM: Five Ways to Detect Changes in JavaScript
    Understand what changed, choose the right signal, and keep your UI in sync. Adapted from zhangxinxu’s original article. Code examples are extracted and condensed from the suppli...
  • Quick Tip: The Difference Between `innerText` and `textContent`
    How layout, hidden elements, and line breaks change the text JavaScript returns. For years, I treated innerText and textContent as interchangeable. Browser compatibility encoura...
  • The Web Locks API: A Lifesaver When It Matters
    How to coordinate browser tabs, prevent competing uploads, and keep asynchronous work under control. By zhangxinxu . Adapted from the original article, with practical excerpts f...
  • A Quick Guide to `window.name`: What It Does and When It Helps
    A small browser property that can survive a page change—and a reminder that browser history shapes today’s APIs. Most JavaScript state disappears when you navigate to another pa...
  • JS Intl Object: A Complete Introduction and Its Applications in Chinese
    Originally inspired by zhangxinxu’s 2019 article on the ECMAScript Internationalization API. This version is rewritten as a concise technical Medium-style introduction, with pra...
© 2026 • Melin
Press Esc or click anywhere to close