Welcome to Bangladesh Microsoft Technology Community Sign in | Join | Help

Friday, February 22, 2008 - Posts

Javascript Tips: Carefully use "this" when writing classes, else you may cause memory leak.

Lets say we want to declare a class in Javascript, which is equivalent to the following C# class.public class Student { public string FirstName = ""; public string LastName = ""; public Student( string firstname, string lastname) {
posted by Shahed | 0 Comments