1
2
3
4
5
var newPosts = [];
for (var i = 0; i < posts.length; ++i) {
	if (i < currentPostAmount) { continue; }
	newPosts.push(posts[i]);
}