Error message here!

Hide Error message here!


Error message here!


Hide Error message here!


Error message here!



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