Share via


small 方法

更新:2007 年 11 月

傳回一個在 String 物件中的文字前後帶有 HTML <SMALL> 標記的字串。

 function small() : String

備註

未檢查標記是否已套用至字串。

範例

以下範例說明如何使用 small 方法:

var strVariable = "This is a string";
strVariable = strVariable.small();

在最後一個陳述式之後,strVariable 的值為:

<SMALL>This is a string</SMALL>

需求

1 版

套用至:

String 物件

請參閱

參考

big 方法