I Let My AI Assistant Read and Reply to My Emails for a Week. Here’s What Actually Happened. An AI can write a perfect email in seconds. Having a real back-and-forth conversation is much harder. Sarah runs a salon. She has an AI assistant that emails her customers when a slot opens up. Last FJul 23, 2026·4 min read
Hoisting in JavascriptIn JavaScript, hoisting allows you to use functions and variables before they're declared. When the JavaScript engine executes the JavaScript code, it creates the global execution context. The global execution context has two phases: Creation Execu...Aug 29, 2023·2 min read
call(), bind() and apply() in JavascriptIn Javascript, everything is an Object. In other object-oriented programming languages, the this keyword always refers to the current instance of the class. Whereas in JavaScript, the value this depends on how a function is called. const person = { f...Aug 29, 2023·3 min read
Higher-order functionA function that takes another function as an argument or returns a function as its results are known as a higher-order function. let's take an example. function x(){ console.log("Hi"); function y(x){ x(); } Suppose, I have an array of numbers. I wa...Aug 29, 2023·3 min read
var, let and constvar, let and const are keywords that are used to define variables in javascript. Let's understand the difference between these keywords. We will learn about scope, re-declaration and reinitialization, and hoisting with var, let and const. var Scope ...Aug 29, 2023·4 min read
map, reduce and filtermap, filter and reduce are higher-order functions in javascript. Each one will iterate over an array and perform a transformation or computation. Each will return a new array based on the result of the function. map() The map() is used to transform a...Aug 29, 2023·3 min read
Promise in JavascriptPromise is an object representing the eventual completion or failure of an asynchronous operation.Aug 4, 2023·2 min read