Returns a reference to the String constructor function that created the object.
Example
var str = new String( "This is string" ); console.log("str.constructor is:" + str.constructor)
On compiling, it will generate the same code in JavaScript.
Its output is as follows −
str.constructor is:function String() { [native code] }
Previous Page:-Click Here
Pingback: TypeScript - Strings - Adglob Infosystem Pvt Ltd
Thank you for your blog article.Much thanks again.