审查元素是这样的:Uncaught SyntaxError: Unexpected token -
来源:3-12 JavaScript数据类型之数值转换
幕布斯7039575
2017-12-01 14:47:54
写的是这样的:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>JS</title>
</head>
<body>
<script>
var name-01="marry",age="18",email="512791403@qq.com"
address,srttings=null;
var distance=12.3215;
console.log(typeof(email));
console.log(typeof(age-6));
</script>
</body>
</html>
1回答
樱桃小胖子
2017-12-01
希望可以帮到你~
相似问题