luyencode / comments

Server lưu trữ bình luận trên Luyện Code
https://luyencode.net
6 stars 3 forks source link

https://oj.luyencode.net/contest/76/problem/1 #700

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Học đếm trong mảng - Luyện Code Online

https://luyencode.net/contest/76/problem/1

MinhDuc30042002 commented 2 years ago

var countElement = function(nums, element) { let length = nums.length let count = 0 for (let i = 0; i < length; i++) { if (nums[i] == element) { count++ } } return count

}

ae nào chỉ cách nộp bài với