i have a question, When we must use static members in client scripts, such as TypeScript ?
seccond question: What is different between instance members (with new keyword) and static members in client scripts such as TypeScript ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An instance is a collection of methods with their own data. Each instance has its own set of data.
When you use the static keyword, the property or method can be called without an instance and is shared by all calls.