摘要: 1. AMD和require.js define(function () { var basicNum = 0; var add = function (x, y) { return x + y; }; return { add: add, basicNum :basicNum }; }); // 阅读全文
posted @ 2024-02-22 20:37 monkey-K 阅读(88) 评论(0) 推荐(0) 编辑