Comments (1)
感谢您的宝贵建议
1.数组求和之前没有使用,是因为没怎么了解这个方法,现在使用了reduce,代码量少了些。
2.随机码那个加上长度我之前也有考虑过,但是后来没有加上。是因为比如ecdo.randomNumber(36),返回的是一个10来位的字符串,万一我想要20来位,30来位的字符串呢,这个暂时没想怎么弄!
ps:ecdo.randomNumber这个函数名也改了,因为重名了!改成了另一个函数名!
3.之前没用slice方法,是因为担心函数传参的时候,没有传h2,那么h2就是underfind,如果是underfind。但是报错,但是昨晚试了一下,貌似没有报错,就使用这个了!
from ec-do.
Related Issues (16)
- 人民币转换大写函数Bug HOT 2
- 数组去重,这种思路如何? HOT 1
- 提议,前面加一个索引,便于快速查找 HOT 1
- 大概看了下ec-do-2.0.0.js的代码,有点建议 HOT 4
- 关于randomWord函数我有个不太明白的地方? HOT 3
- 设置url参数这样如何 HOT 1
- text方法内调用filterStr方法的问题 HOT 1
- 增加 补零和字符串转DOM?! HOT 1
- readme文件书写错误 HOT 1
- 平均值哪里BUG HOT 1
- 有一处方法使用方式不懂 HOT 1
- ajax 错误 HOT 2
- 原生方案 HOT 16
- 一些建议和BUG,共同完善 HOT 4
- 随机码randomWord函数小问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ec-do.