Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution.

Let see Variable Hoisting with an example.

Variable Hoisting:

Variable in JavaScript is represented with the `var` keyword. In the below code snippet you will notice that the below statements will execute without error and its output as “undefined

// Variable Hoisting
console.log(age); // output: name is undefined
var age = "javascript";

During the execution context, the above code snippet will get transformed like

var age; // Variable declarations are moved to the top
age = "javascript";

In this process…

In this article, the below steps are followed to deploy Angular application with Github page.

Before we proceed with steps, let us all know that — the GitHub has Actions tab in which one can create/set workflow for code deployment anywhere as required.

First Things First: Create token in GitHub

The prerequisite for this deployment would be creating a token for the build process to automate the authentication and authorization process.

  • Go to your Profile menu and click on Settings.
  • In the sidebar choose Developer settings
  • In the sidebar choose Personal access tokens
  • Click on Generate new token
You can define your Note. For eg:- GITHUB_ACCESS_TOKEN. Choose…

Artificial intelligence, or AI, is one of the magic words for technologists and business experts. AI was found by John McCarthy. It is known as “the science and engineering of making intelligent machines.”

Few examples of AI in real-time,

  • Hey Siri, Hey Google, Amazon’s Alexa, etc.. — uses AI to complete tasks and answer your questions.
  • Tesla self-driving cars.
  • Netflix is using AI to create suggestions according to your viewing preferences…

Recently, AI has upscaled a silent short film “L’Arrivée d’un train en gare de La Ciotat” which was shot in the year 1896 to 4k 60FPS resolution. …

© Stock/RaStudio

Finding a similar sentence nowadays is an easy task with a methodology in Natural Language Processing (NLP).

Before explaining further here are some basic things to understand,

  • NLP is a computer program which understands human language.
  • NLP is a component (or) branch of Artificial Intelligence (AI).
  • Machine Learning (ML) is a subset of AI, it is an algorithm to build a mathematical model based on sample data.

Finding a similar sentence can be done with the Embedding technique in NLP. In this technique, the given sentences will be converted to numbers (tokenizing) and then represented in a Vector format. …

ECMA Script Magazine authors like to dive into some of the technical journey on array basics which gives you deeper understanding on JavaScript Arrays. The take away from this article would be the following basic areas.

  1. What is an Array?
  2. How an Array works?
  3. What are the Array methods available?

An array is a data structure to store and organize information. Let’s have a look at simple example : Imagine you own 4 cars in each of the brands like Chevy, Ford, Benz and Porsche. Now you will park all the 4 cars efficiently in your available space at your…

Shankar Ganesh Jayaraman

★ Full Stack / Frontend Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store