JS中‘hello’与new String(‘hello’)引出的问题详解 定义一个字符串在工作中我们大概有3种方法去定义一个字符串:1.varstr='hello';2.varstr1=String(' strings=“hello”