说明
此方法使字符串以固定间距字体显示,就像它在<tt>
标签中一样。
返回值
返回带有<tt>
标签的字符串。
示例
var str = new String("Hello world"); console.log(str.fixed()); // <tt>Hello world</tt>
语法
string.fixed( )
日期:2019-08-20 13:50:48 来源:oir作者:oir
此方法使字符串以固定间距字体显示,就像它在<tt>
标签中一样。
返回带有<tt>
标签的字符串。
var str = new String("Hello world"); console.log(str.fixed()); // <tt>Hello world</tt>
string.fixed( )