Eclipse Jar Package Extract out system.js string and Boolean definition semicolon dispensable?

Source: Internet
Author: User
Tags object model

Org.eclipse.wst.jsdt.core_1.3.300.v201410221502\libraries\system.js
/**
* Object String ()
* @constructor
* @extends Object
* @since Standard ECMA-262 3rd. Edition
* @since Level 2 Document Object Model Core Definition.
*/
function String () {}
String.prototype = new Object ();

/**
* Object number ()
* @constructor
* @extends Object
* @since Standard ECMA-262 3rd. Edition
* @since Level 2 Document Object Model Core Definition.
*/
function number () {}
Number.prototype = new Object ();

/**
* Object Boolean ()
* @constructor
* @extends Object
* @since Standard ECMA-262 3rd. Edition
* @since Level 2 Document Object Model Core Definition.
*/
function Boolean () {};
Boolean.prototype = new Object ();

/**
* Object Date (s)
* @constructor
* @param {String} s
* @extends Object
* @since Standard ECMA-262 3rd. Edition
* @since Level 2 Document Object Model Core Definition.
*/
function Date (s) {};
Date.prototype = new Object ();

A semicolon is followed by a Boolean and date declaration after curly braces, and string and number do not? Is this for Mao?
This is the System.js file extracted from the jar package in Eclipse.

Eclipse's jar package extract the System.js string with the Boolean definition semicolon dispensable?

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.