The 2nd case of Master's education suggests understanding variables and their scope

Source: Internet
Author: User

ValiDate (New Date ()) is this a constructor function?  The new Date () () is the parameter of this constructor? Is the object, the time object, are new out of the ~ constructor, is a special method.  It is used primarily to initialize an object when it is created, to assign an initial value to an object member variable, and to always use the new operator in the statement that creates the object. constructor also to ~ is the object prototype ~ Usually we have to new out with ~new an object ~ Object prototype, is also our usual class ~ actually JS strictly speaking is no class of ~ Object prototype, prototype object ~ These are the system comes with, you can also encapsulate their own prototype object ~ To use, the new Come out with

The 2nd case of Master's education suggests understanding variables and their scope

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.