Javascript Tutorials

1. Dynamically modify the option set in Dynamics 365 forms

By: Terrence : 2023-08-22

Description: To dynamically modify the option set in Dynamics 365 forms, either on Form Load or on a specific field OnChange event, we can replace the options in the option set with the allowed options. This will provide a consistent and reliable behavior.


2. bind in JavaScript

By: Willet : 2023-04-26

Description: In JavaScript, the bind() method creates a new function that, when called, has its this keyword set to a specified value. It allows you to pass a specific this context to a function and returns a new function with the same code but a bound context. The syntax for using bind() is:


3. call in JavaScript

By: Yolander : 2023-04-26

Description: In JavaScript, call() is a method that allows you to call a function with a given this value and arguments provided individually. The syntax for call() is


4. apply() in JavaScript

By: Yolander : 2023-04-26

Description: apply() is a method in JavaScript that allows you to call a function with a given this value and arguments provided as an array. It is similar to the call() method, but with apply(), the arguments are passed as an array, while with call(), the arguments are passed individually.


5. mixin in JavaScript

By: Yolander : 2023-04-26

Description: In JavaScript, a mixin is a way to add or "mix in" functionality to an object without inheriting from it. It's a way to combine objects to create a new object that has the properties and methods of both objects.


6. promise and .then() in JavaScript

By: Willet : 2023-04-26

Description: A promise is an object in JavaScript that represents the eventual completion or failure of an asynchronous operation, and its resulting value. It allows you to write asynchronous code in a more synchronous way, making it easier to read and reason about. A promise can be in one of three states:


7. reduce() and filter() in JavaScript

By: Vimala : 2023-04-26

Description: reduce() and filter() are higher-order array functions in JavaScript that allow you to perform operations on arrays in a more concise and readable way.


8. IIFE in JavaScript

By: Urmila : 2023-04-26

Description: IIFE stands for Immediately Invoked Function Expression. It's a way to create a self-executing function in JavaScript. The main idea is to write a function that is executed immediately after it's defined


9. map() in JavaScript

By: Urmila : 2023-04-26

Description: In JavaScript, map() is a built-in method available on arrays that allows you to iterate through each element of an array and create a new array by performing some operation on each element. The syntax of map() is as follows:


10. prototype in JavaScript

By: Tanya : 2023-04-26

Description: In JavaScript, every object has a prototype. A prototype is an object that is used as a template for creating new objects. When an object is created, it inherits properties and methods from its prototype.