How to print or enumerate properties of a JavaScript object? Dhananjay Kumar / Thu, Nov 24, 2016 I usually come across the following requirements, How to print name of all the properties of an object? How to print only the methods of an object? How to print even non-enumerable properties...
Simplifying the JavaScript Callback function for .NET developers Dhananjay Kumar / Wed, May 20, 2015 In JavaScript, functions are objects, and they can: · Be passed as an argument to another function · Return as a value from a function · Be assigned to a variable Let’s assume that you have a...
Objects in JavaScript for .NET developers – Part 1 Dhananjay Kumar / Tue, May 19, 2015 Here are some fun facts for you: JavaScript is not an object oriented language, but almost everything in JavaScript is an object. JavaScript does not have classes, and we can create an object from an...