Video – Various ways of creating a function in JavaScript

This video teaches you the various ways of creating a function in JavaScript. There are four ways a function can be created in JavaScript. They are as follows: 1. A function as a Statement 2. A function as an Expression 3. A function as an Arrow function 4. A function using Function constructor   https://youtu.be/1koTc_lhZLUContinue reading Video – Various ways of creating a function in JavaScript

What is the Rest Parameter in a Function?

Learn full article on Infragistics blog A JavaScript function can take any number of parameters. Unlike other languages like C# and Java, you can pass any number of parameters while calling a JavaScript function. JavaScript functions allows unknown number of function parameters. Before ECMAScript 6, JavaScript had arguments variable to access these unknown or variable … Continue reading What is the Rest Parameter in a Function?

11 things about JavaScript functions that .NET developers should know: Part 2

Read full article on the Infragistics blog This is the second part of the series in 11 Things about JavaScript Functions that .NET Developers Should Know . In part 1 we discussed the following topics, JavaScript functions as an expression JavaScript functions as a statement Return statements in JavaScript functions Parameters in JavaScript functions The … Continue reading 11 things about JavaScript functions that .NET developers should know: Part 2

11 things about JavaScript functions .NET developers must know: Part 1

I have often seen .NET developers struggle with the JavaScript. They try to compare C# functions with the JavaScript functions and usually do some minor but conceptual mistakes while using it. As we all will agree that JavaScript functions are the backbone of the JavaScript programming language, and if one has good understanding of the … Continue reading 11 things about JavaScript functions .NET developers must know: Part 1

Video: Optional Parameters in JavaScript Functions

Video: What is null and undefined in JavaScript? Video: How to create Objects as literals in JavaScript Video: How to create Objects using new operator in JavaScript Video: How to create JavaScript Objects using Object.create In this video you will learn about Optional Parameters in JavaScript functions. http://www.youtube.com/watch?v=3e7g-3H1JDc&feature=youtu.be

Invocation patterns in JavaScript

In JavaScript you can invoke a function in four different ways. In this post we will take a look on various invocation patterns. There are four ways a function can be invoked in JavaScript. Four invocation patterns in JavaScript are as follows, Function Invocation Pattern Method Invocation Pattern Constructor Invocation Pattern Indirect Invocation Pattern Function … Continue reading Invocation patterns in JavaScript