正常字符串使用“”或者‘’包着
多行字符串编写
<script>'use strict';let str=`helloword你好呀我很好`</script>
模板字符串(只要``号里面支持,””和’’不支持)
<script>'use strict';let str01="hello";let str02="word";let str=`你好呀,${str02}`</script>
字符串长度
<script>console.log("student".length)</script>
大小写转化
<script>"student".toUpperCase();"STUDENT".toLowerCase();</script>
还有很多Java中的方法js中都可以用…
