No matter how great we are at programming, sometimes our scripts have errors. They may occur because of our mistakes, an unexpected user input, an erroneous server response, and for a thousand other reasons.

Usually, a script “dies” (immediately stops) in case of an error, printing it to console.


The 5 most useful string prototypes are charAt, concat, includes, endsWith, slice. In this article, we will discuss these prototypes of string.

  1. charAt The String object's charAt() the method returns a new string consisting of the single and returns the position of the character.
const name = "Riyaz Khan Shuvo";

A command prompt (or just prompt) is a sequence of (one or more) characters used in a command-line interface to indicate readiness to accept commands. It literally prompts the user to take action. In this article, we will discuss 5 basic commands of the command prompt in windows.

1. How to change the directory (folder) in Command Prompt (CMD)

Riyaz Hossain

I am interested to learn and to teach.

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