Posts for Javascript

JavaScript, often abbreviated as JS, is a high-level, interpreted scripting language that conforms to the ECMAScript specification. JavaScript has curly-bracket syntax and dynamic typing
Deven
Deven wrote

What is void(0) in JavaScript

In this article, you are going to learn about how to use void(0) in JavaScript. In a normal sense, the word void refers to completely empty or blank. When it is used in programming languages, like JavaScript the word void(0) refers as it returns nothing. This operator is mostly used with the hyperlink. We use […]

January 15, 2022 in Code examples & Javascript
Deven
Deven wrote

How to add an object key dynamically in JavaScript

In this article, you will learn about how to add an Object key dynamically in JavaScipt. JavaScript is the most popular language at this moment and you can do a lot more things by using JavaScript. The main reason because of its popularity is that it can be used both in front-end and back-end. JavaScript […]

January 15, 2022 in Code examples & Javascript
Deven
Deven wrote

How to convert HTML text to PDF in JavaScript

In this article, you will learn about how to convert HTML text to PDF by using JavaScript.Converting an HTML file into PDF is a very useful thing to do and you may save a bulk amount of data into a pdf file easily. In JavaScript, you may convert your HTML file into PDF and to […]

January 13, 2022 in Code examples & Javascript
Deven
Deven wrote

Learn How to push an element to array in Mongoose

In this article, you are going to learn about how to push an element to an array in the Mongoose. An array is the most common data structure in all programming languages. You can store multiple data into the array. In databases like mongoose, arrays are widely used. You can store an array of strings, […]

December 14, 2021 in Code examples & Javascript
Deven
Deven wrote

complete Guide to Local storage in Javascript

JavaScript is the queen of all programming languages. It has been ruling in the web development sector over the years. JavaScript comes with tones of useful features by which you can bring more interactivity to your website. local storage is one of them. In JavaScript local storage is a property that allows JavaScript sites and […]

October 21, 2021 in Javascript & Tutorials
Deven
Deven wrote

How to use chai assertion library

In this article, you will learn about how to use the Chai assertion library.Assertion libraries are tools to verify that things are correct. Basically, It helps you to test your code and reduce your time by preventing writing thousands of if statements. Chai is an assertion library. More specifically, Chai is a BDD / TDD […]

October 18, 2021 in Code examples & Javascript
Deven
Deven wrote

Getting started with TensorFlow.js

TensorFlow.js is the Import of the machine learning framework TensorFlow for JavaScript. TensorFlow.js accesses the lower-layer APIs (tfjs-core) to do some fundamental optimization on classical problems. So, basically TensorFlow.js is a JavaScript Library for training and deploying machine learning models in the browser and in Node.js. TensorFlow.js can leverage a vast platform of devices while […]

March 9, 2021 in Javascript & Tutorials
Deven
Deven wrote

Asynchronous JavaScript – The Beginners Guide

Before you get started with this guide, you should have a fair knowledge of JavaScript fundamentals. At its base, JavaScript is a synchronous programming language. This means it is single-threaded; only one operation can be executed at a time.To truly understand why async/await is important, we have to take a deep dive into JavaScript’s core […]

December 7, 2020 in Javascript & Snippets

Remove First and last Element From Array Javascript

JavaScript has functions that help us manipulate arrays. Contents Remove the First Element From Array Remove the Last Element From Array Consider the following array. Remove the First Element From Array shift() removes the first element of an array and returns the removed element. Output Remove the Last Element From Array pop() removes the last […]

August 26, 2020 in Javascript & Snippets

Build a Budget App with Html, Css, And JavaScript

The goal of this article is to teach beginners learning JavaScript, how to use JavaScript Object, JavaScript functions declaration and function invocation, and JavaScript DOM Manipulation. Before we start let us understand what is a budget?. I like to first understand the project I am about to work on before starting out. The reason is […]

July 17, 2020 in Javascript