In this article, we will see how to link external JavaScript (js) file in HTML. We can link an external JavaScript file to an HTML document to separate our JavaScript code from you.... Read More
In this tutorial, we will see how to get timestamp in JavaScript. In JavaScript, we can get a timestamp in various ways depending on our requirements. A timestamp represents the nu.... Read More
In this tutorial, we will learn how to empty an array in JavaScript. To make it clear and understandable, I will simply take an array variable and put some elements in it. Then I w.... Read More
In this tutorial, I will show how to get all unique values in a JavaScript array. In JavaScript, an array is a handy way to store a list of items. Sometimes, we might want to find .... Read More
Removing blank lines from a .txt file inĀ Node.Js is easy. Let’s Understand the concept, First of all, we have to access the .txt file next we need to break the paragraph or.... Read More
In this tutorial, you will learn how to extract values from nested JSON using various methods in Node.js. These methods include dot notation, square bracket notation, and object de.... Read More
Getting the operating system platform is very easy. In NodeJS at first, we just have to import a module ("os"), which is a built-in module of NodeJs that provides several methods r.... Read More
Introduction to JavaScript Security In September 2018, British Airways, one of the world’s leading airlines, experienced a severe cyber attack. The company’s website wa.... Read More