js打印纸函数代码(递归)
代码如下: //打印纸尺寸,单位MM //http://en.wikipedia.org/wiki/ISO_216 var page = function() { var A0 = { name: “A0”, width: 841, height: 1189 }; //单位MM var B0 = { name: “B0”, width: 1000, height: 1414 }; //单位MM var C0 = { name: “C0”, width: 917, height: 1297 }; //单位MM //获取前一个规格 function getPrefixSize(name) { va
用户评论