Alex Chen
Front-end & Node.js Developer
Tentang
Alex is a front-end and Node.js developer with extensive experience building web applications and developer tooling. He is passionate about web standards, browser APIs, and the JavaScript ecosystem. In his spare time he contributes to open-source projects and writes about modern JavaScript patterns, performance optimisation, and everything related to the web platform.
Artikel oleh Alex Chen
Format JSON di JavaScript menggunakan JSON.stringify(data, null, 2). Mencakup replacer, BigInt, Date, file Node.js, CLI, dan fast-json-stringify.
Panduan lengkap decode Base64 di JavaScript — atob(), Buffer.from(), URL-safe, JWT, dan cara menghindari 4 kesalahan umum yang merusak teks UTF-8.
Encoding URL di JavaScript dengan encodeURIComponent(), encodeURI(), dan URLSearchParams. Contoh Fetch API, library qs, dan kesalahan umum. Node.js 10+.
Dekode URL di JavaScript dengan decodeURIComponent(), decodeURI(), dan URLSearchParams — perbedaan, contoh kode, penanganan error, dan praktik terbaik.
Panduan lengkap Base64 di JavaScript: btoa(), Buffer.from(), Base64 URL-safe, penanganan Unicode, encoding file besar, dan empat kesalahan umum.