I was wondering if it's possible to state 2 statements as a FOR loop's condition in JavaScript.
for (var i = 0; i < x.length || 10; i++) {
}
instead of writing
for (var i = 0; i < x.length; i++) {
if(i<10) {
}
}
Used references (didn't help too much):