Posts in "JavaScript"

JavaScript Class

Class Class is an object oriented programming concept, in JavaScript it’s similar to a function. Classes are just a special functions added to the ES6. But they give you more power and flexibility by assigning properties to them. Constructor A special method that represents class. It is used to create and initialize the object created… Continue reading

Create simple chat application using Node.JS, Express.JS and Socket.IO

Introduction This article is all about creating a simple chatting application using Node.JS, Express.JS, and Socket.IO. There are many different ways to implement this using traditional languages like PHP, .Net, SignalR etc. There are different libraries available in the market like chatJS, jQuery+AJAX. We can also use third-party libraries but they might be paid services. 

Operator in JavaScript

JavaScript’s Operators Operators are used for JavaScript’s arithmetic, comparison, logical, assignment expressions and more. Most operators are represented by punctuation characters such as + and =, some, however, are represented by keyword such as delete and instanceof.

JavaScript’s Lexical Structure

A programming language’s lexical structure specifies set of some basic rules about how a code should be written in it. Rules like what variable names looks like, the delimiter characters for comments, and how one program statement is separated from the next. It is the lowest-level syntax of a language.