摘要: const data = { a: '小aa', b: '小bb', c: { cc: '小cc' } } const tmpl = '哈哈,我是${a},你叫${b},他是${c.cc}' function render (tmpl, data) { const getData = (key) = 阅读全文
posted @ 2021-02-24 17:52 hwjun 阅读(65) 评论(0) 推荐(0) 编辑
摘要: function add() { let args = Array.prototype.slice.call(arguments) let add1 = function() { args = args.concat([...arguments]) return add1 } add1.toStri 阅读全文
posted @ 2021-02-24 16:09 hwjun 阅读(46) 评论(0) 推荐(0) 编辑