Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
splice, IndexOf solution in Clear category for Remove All Before by lena.tkachenko.physic
function removeAllBefore(values, b) {
values.splice(0, values.indexOf(b));
return values;
}
May 1, 2020
Comments: