A、n=Math.round(Math.random(100))+1; B、n=Math.round(Math.random()*100)+1; C、n=Math.floor(Math.random(100))+1; D、n=Math.floor(Math.random()*100)+1;
A、Math.floor(Math.random()*6) B、Math.floor(Math.random()*7) C、Math.floor(Math.random()*8) D、Math.ceil(Math.random()*8)
A、 Double d = Math.cos(42); B、 Double d = Math.cosine(42); C、 Double d = Math.cos(Math.toRadians(42)); D、 Double d = Math.cos(Math.toDegrees(42)); E、 Double d = Math.cosine(Math.toRadians(42));
A、Xml是种可扩展标记语言,格式更规范,是作为未来html的替代 B、Xml一般用于传输和存储数据,是对html的补充,两者的目的不同 C、在JavaScript里解析和处理xml数据时,因为浏览器的不同,其做法也不同 D、在IE浏览器里处理xml,首先需要创建ActiveXObject对象