Tag: fundamental
How Does a JavaScript Engine Work?
At the heart of every modern web application lies a JavaScript engine, a powerful tool that breathes life into website scripts. These engines, developed by tech giants like Google and Mozilla, are the unsung heroes behind the seamless, dynamic user experiences we’ve come to expect from the web today. JavaScript engines are complex pieces of […]
What is OWASP?
OWASP, the Open Web Application Security Project, is an essential resource for developers focused on web security. This article explores the OWASP Top 10 lists from 2020 to 2023, detailing each security risk and its impact on web applications. OWASP Top 10 – 2020 The 2020 list emphasizes the most critical security concerns for web […]
What is TypeScript?
Yet, as applications grew in complexity, developers felt the need for a tool that could address its shortcomings, leading to the birth of TypeScript. Let’s dive deep into the realm of TypeScript and discover its potential. TypeScript, developed by Microsoft, is a statically typed superset of JavaScript. This means everything you do in JavaScript can […]
What is Event Emitter in Node.js?
Node.js is celebrated for its non-blocking, event-driven architecture. A core component that embodies this philosophy is the Event Emitter. Let’s venture into understanding its significance, usage, and best practices. What is Event Emitter? The Event Emitter is a module in Node.js that facilitates the management of events and listeners. It allows objects to emit named […]
How to use array methods in Javascript?
In JavaScript, arrays have numerous methods. Here’s a list of the commonly used array methods available: push Array.prototype.push() Add one or more elements to the end of an array and return the new length. const jottupFruits = [‘apple’, ‘banana’]; const newLength = jottupFruits.push(‘cherry’); console.log(jottupFruits); // Expected output: [‘apple’, ‘banana’, ‘cherry’] console.log(newLength); // Expected output: 3 […]
How Functions Work in Javascript?
What are Functions? Functions in JavaScript are objects that allow you to encapsulate a piece of code so it can be reused and invoked throughout your program. They can accept parameters and return values. What is Function Declaration? Function Declaration allows you to define a function using the function keyword, followed by the name of […]