3.18作业

来源:3-18 编程练习

挪威_

2019-02-26 15:36:36

var a="50px",b="px50",c="50px50",d="50.51";
document.write(parseInt(a)+" "+typeof (parseInt(a))+"<br/>");
document.write(parseInt(b)+" "+typeof (parseInt(b))+"<br/>");
document.write(parseInt(c)+" "+typeof (parseInt(c))+"<br/>");
document.write(parseInt(d)+" "+typeof (parseInt(d))+"<br/>");

写回答

1回答

好帮手慕星星

2019-02-26

你好,代码写的是正确的。继续加油!

0

0 学习 · 36712 问题

查看课程