Melin's Blog

Latest posts

See all posts
  • When Should JavaScript Tagged Templates Be Used?
    JavaScript template strings are familiar to most developers: They make string interpolation readable and convenient. But JavaScript also has a more advanced form: tagged templat...
  • An Audio Player Component Built with howler.js
    Originally published by zhangxinxu on March 15, 2022, under “JS Examples.” Source: Xin Space - Xin Life. Audio playback looks simple until you need a real player: playlist navig...
  • Detecting Font Loading Failure or Completion with the JavaScript FontFace API
    Custom fonts can make an interface feel polished, but they also introduce a timing problem: the browser may render text before the font file has finished loading. When that happ...
  • A Deep Dive into JavaScript’s `new Function` Syntax
    Most JavaScript developers rarely need new Function . In day-to-day frontend or Node.js work, a regular function or arrow function is usually clearer, safer, and easier to maint...
  • JS and Barcode Generation: A Practical Guide for the Web
    Barcodes feel old compared with QR codes, but they still solve a useful problem: turning short pieces of structured text into simple, machine-readable graphics. With JavaScript,...
© 2026 • Melin
Press Esc or click anywhere to close