UNPKG

tiny-slider

Version:

Vanilla javascript slider for all purposes, inspired by Owl Carousel.

6 lines • 208 B
// https://toddmotto.com/ditch-the-array-foreach-call-nodelist-hack/ export function forEach (arr, callback, scope) { for (var i = 0, l = arr.length; i < l; i++) { callback.call(scope, arr[i], i); } }