When extracting values from objects or arrays, we used to write it like this. const user = { name: "田中", age: 25, city: "東京" }; const { name, age } = user; console.log(name); // 田中 console.log(age); / ...
I write about TypeScript, React, and Node.js. Exploring real-time rendering and Elixir in spare time. In JavaScript and TypeScript, you can define a function either using function keyword or ...
Over 25% of malicious JavaScript code is obfuscated by so-called ‘packers’, a software packaging method that has given attackers a way of evading signature-based detection, according to security and ...
Destructuring is one of my favorite tools in JavaScript, in simple terms, destructuring allows you to break down a complex structure (like an array or an object) into simpler parts, though there’s a ...
The latest ECMA standard for JavaScript (ECMAScript 6) makes JavaScript more readable by encouraging a more declarative style with functional constructs and new operators. One of my favourite ES6 ...