33_webpack-lib
MIT> 需求: 实现大型正整数相加,打包出开发环境用的js和生产环境用的.min.js。支持amd/cmj/es6/script标签引用等多种方式。 ### 1. 编写加法代码 ``` export default function add(a, b) { let i = a.length - 1; let j = b.length - 1; let carry = 0; let result = ""; while (i >= 0 || j >= 0) { let x = 0;
85
Security score
0 known advisories in v1.0.0
Weekly downloads
—
Unpacked size
109.7 kB
Dependencies
0
Last publish
6 years ago
Security advisories
No known vulnerabilities affect v1.0.0.