var arr = [
[0,1,2],
[3,4,5],
[
['a','b','c']
]
];
Technical Solutions, Software Development, MS Dynamics CRM Customization, Development, Report Development
Friday, April 24, 2015
Thursday, April 16, 2015
Object Properties with Get, Set
var d = Date.prototype;
Object.defineProperty(d, "Year", {
get: function() {return this.getFullYear() },
set: function(y) { this.setFullYear(y) }
});
Above code add property in Date object. This is use of getter and setter in a Date
object: Shown in below lines of code.
var now = new Date;
document.write(now.Year + '<br/>'); // 2015
now.Year = 2016;
document.write(now);
// Sat Apr 16 2016 13:56:25 GMT+0500 (Pakistan Standard Time)
Subscribe to:
Posts (Atom)
Asp.Net MVC (5) - Exception Filter - HandleError
Applicable on Asp.Net MVC5 HandleError Filter This belongs to Exception Filters category (Authentication Filter, Authoriz...
-
Applicable on Asp.Net MVC5 HandleError Filter This belongs to Exception Filters category (Authentication Filter, Authoriz...
-
1) Install Ribbon Workbench from here 2) Import solution in your Dynamics CRM 365 instance 3) A button " RIBBON WORKBENCH 2016 ...