Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在数组原型上加了方法,for in 会暴露出来. #5

Open
imindzzz opened this issue Apr 22, 2016 · 2 comments
Open

在数组原型上加了方法,for in 会暴露出来. #5

imindzzz opened this issue Apr 22, 2016 · 2 comments

Comments

@imindzzz
Copy link
Contributor

解决办法:
28行代码 请换成 for循环:

//for(var t in tpls){
for(var t = 0;t < tpls.length;t++){

@jojoin
Copy link
Owner

jojoin commented Apr 23, 2016

嗯,这的确是一个需要解决的问题,而且不影响 tppl 的目标。如果感兴趣的话,请提交一个 pull requests 。否则我就自己改了 ^_^
@xd199153

@logoove
Copy link

logoove commented Oct 15, 2016

for in 很好用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants