国产chinesehdxxxx野外,国产av无码专区亚洲av琪琪,播放男人添女人下边视频,成人国产精品一区二区免费看,chinese丰满人妻videos

TypeScript 字符串Constructor屬性

2019-01-09 14:27 更新

TypeScript 字符串Constructor屬性

Constructor屬性返回對(duì)創(chuàng)建對(duì)象的String函數(shù)的引用。

示例

var str = new String( "This is string" ); 
console.log("str.constructor is:" + str.constructor)

在編譯時(shí),它將在JavaScript中生成相同的代碼。

其輸出如下:

str.constructor is:function String() { [native code] }
以上內(nèi)容是否對(duì)您有幫助:
在線(xiàn)筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)