Error message here!

Hide Error message here!

忘记密码?

Error message here!

请输入正确邮箱

Hide Error message here!

密码丢失?请输入您的电子邮件地址。您将收到一个重设密码链接。

Error message here!

返回登录

Close

String of data type of JavaScript

Liu Jiayi_ 2022-05-14 15:58:46 阅读数:1 评论数:0 点赞数:0 收藏数:0

js There are six data types in the

1.String character string

2.Number The number

3.Boolean Boolean value

4.Null Null value

5.Undefined Undefined

6.Object object

String Use single quotation marks or double quotation marks

as follows

 var x2='liujiayi';
var x3="haoshuai"

But it can't be mixed

And double quotation marks cannot be nested in double quotation marks

Single quotation marks cannot be nested inside single quotation marks

Copyright statement
In this paper,the author:[Liu Jiayi_],Reprint please bring the original link, thank you