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

Challenge Finders Keepers 需要更清晰的翻译问题 #108

Closed
AlberMonster opened this issue Jan 12, 2017 · 2 comments
Closed

Challenge Finders Keepers 需要更清晰的翻译问题 #108

AlberMonster opened this issue Jan 12, 2017 · 2 comments

Comments

@AlberMonster
Copy link

AlberMonster commented Jan 12, 2017

Challenge Finders Keepers has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function find(arr, func) {
  var result;
	if(arr.filter(func).length == 0){
		return result;
	}else{
		result = arr.filter(func);
		return result;
	}
}

find([1, 2, 3, 4], function(num){ return num % 2 === 0; });
@AlberMonster
Copy link
Author

already pass. Do not understand the questions completely. The Task have no bug

@AlberMonster AlberMonster changed the title A bug can not pass Already pass Jan 12, 2017
@S1ngS1ng
Copy link
Contributor

"它浏览数组(第一个参数)并返回数组中第一个通过某种方法(第二个参数)验证的元素"

意思就是,遍历数组(第一个参数),通过第二个参数的方法验证,然后返回这个数组中的第一个元素。可能翻译上有点儿不明确。我们讨论下看如何写比较好。

谢谢你的建议

@wudifeixue wudifeixue changed the title Already pass Challenge Finders Keepers 需要更清晰的翻译问题 Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants