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

错误变量名修改 even -> someEven, 优化js二维数组算法示例 #242

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

drafish
Copy link
Contributor

@drafish drafish commented Jan 29, 2019

主要是3个改动:

1.变量even不存在,改someEven, 纯粹是笔误

2.改了下二维数组的写法,行和列更加直观

3.按行访问二维数组的示例写的有问题,如果增加一行就会输出exam 4 average: NaN,我已修复

另外,按行访问数组的示例中,我觉得行代表考试,列代表科目,这样看起来更加合理,也比较容易理解。但出于对原作者的尊重,我就没改,只改了他写的不对的地方

@wangzheng0822 wangzheng0822 merged commit d93f978 into wangzheng0822:master Feb 1, 2019
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

Successfully merging this pull request may close these issues.

2 participants