Tag: java_script

Java Script @ Freshers.in

JavaScript : Iterate over an array and accumulate:reduce()

The reduce() method in JavaScript is used to iterate over an array and accumulate a single value based on the…

Continue Reading JavaScript : Iterate over an array and accumulate:reduce()

Passport: A renowned authentication middleware for Node.js

In the realm of Node.js development, securing your applications is paramount. Passport stands out as a top-tier authentication middleware, offering…

Continue Reading Passport: A renowned authentication middleware for Node.js
Java Script @ Freshers.in

JavaScript : Searching through arrays and retrieving the index of the first element : findIndex()

JavaScript arrays offer a plethora of methods to manipulate and traverse data efficiently. Among these, the findIndex() method stands out…

Continue Reading JavaScript : Searching through arrays and retrieving the index of the first element : findIndex()
Java Script @ Freshers.in

JavaScript Array Method: reduce()

JavaScript arrays come equipped with a plethora of methods to facilitate efficient data manipulation. Among these, reduce() stands out as…

Continue Reading JavaScript Array Method: reduce()
Java Script @ Freshers.in

JavaScript Array Method: push()

JavaScript arrays are a cornerstone of web development, providing a flexible way to store and manipulate data. Among the plethora…

Continue Reading JavaScript Array Method: push()
Java Script @ Freshers.in

JavaScript Array Method: pop()

JavaScript is a versatile programming language renowned for its array manipulation capabilities. In this article, we delve into one of…

Continue Reading JavaScript Array Method: pop()

XML Document Generation in Node.js with xmlbuilder

XML (Extensible Markup Language) is a popular format for structuring data, commonly used in web development, data interchange, and configuration…

Continue Reading XML Document Generation in Node.js with xmlbuilder

Node.js UUID: Creating Universally Unique Identifiers

In the realm of Node.js development, generating universally unique identifiers (UUIDs) is a common requirement. Node.js offers a versatile module,…

Continue Reading Node.js UUID: Creating Universally Unique Identifiers
Java Script @ Freshers.in

JavaScript : Finding the last occurrence of a specified element in an array

JavaScript arrays provide a multitude of methods for efficient manipulation and searching. Among these, the lastIndexOf() method is particularly useful…

Continue Reading JavaScript : Finding the last occurrence of a specified element in an array