2016年12月21日

摘要: 换行的字符串 "This string\nhas two lines" 字符串中使用单引号时应该怎么写 'You\'re right, it can\'t be a quote' 把数字变成字符串并保留两位小数 var n = 123456.789 n.toFixed(0); //"123457" 阅读全文

posted @ 2016-12-21 16:38 上善其若水,厚德载物 阅读(394) 评论(0) 推荐(0) 编辑


Copyright © 2024 上善其若水,厚德载物
Powered by .NET 8.0 on Kubernetes