Edit this page

up.util up.util.times(count, block)
JavaScript function

This feature has been deprecated. Use a for loop instead.

Load unpoly-migrate.js to polyfill deprecated features.

Calls the given function for the given number of times.


Parameters

count number
block Function()