Returns the number of milliseconds given. Although this just returns the given value, this is useful to portray a function takes in milliseconds.
milliseconds(500);milliseconds(1_000);setTimeout(() => {}, milliseconds(3_000)); Copy
milliseconds(500);milliseconds(1_000);setTimeout(() => {}, milliseconds(3_000));
Returns the number of milliseconds given. Although this just returns the given value, this is useful to portray a function takes in milliseconds.