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>