Installing WSL2 on Windows - My Experience and Tips
I recently spent quite a bit of time installing WSL2 (Windows Subsystem for Linux) on my computer. Here's my detailed installation guide and the lessons learned along the way.
Using the "Email Laundry Method" to Organize My Inbox
I tried using the email laundry method from the book "Uptime" to organize my Gmail, and the moment I finished organizing it, I truly felt mentally and physically refreshed.
JavaScript has two main data types: primitives and objects. Primitives include String, Boolean, Number, BigInt, Undefined, Null, and Symbol; objects include Array, Function, and Objects.
Differences between ==, === and Object.is() in JavaScript
== performs type coercion and value comparison; === doesn't perform type coercion but compares values; Object.is() compares if two values are the same.
var, let, and const are reserved keywords used for variable declaration in JavaScript. Initially, only var was available until ES6 introduced let and const.
In JavaScript, the value of 'this' is dynamic and typically determined by how a function is called. Therefore, what affects the value of 'this' is not when it's declared, but where it's invoked.
Key Notes from "ChatGPT Prompt Engineering for Developers" Course
ChatGPT Prompt Engineering for Developers is a famous course launched by DeepLearning.AI after the emergence of generative AI, serving as a comprehensive AI prompt guide suitable for everyone.
Understanding splice, slice, and split in JavaScript
splice modifies the original array, allowing insertion, deletion, or both simultaneously; slice extracts a portion of an array or string, returning a new array or string without modifying the original; split divides a string into an array based on a specified separator, leaving the original string unchanged.
Git is a distributed version control system mainly used to manage and track code changes, particularly suitable for collaborative development projects.