Skip to content
Given a point and a distance, determine how many periodic values were skipped.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
config
dist
src
test
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
bower.json
gulpfile.js
package.json

README.md

skipped-periodic-values.js

Travis build status Code Climate Test Coverage Dependency Status devDependency Status

Given a distance that ignores a periodic value, determine how many periodic values were skipped.

Terminology

The members of a periodic function's output are the "values." A single member is a "value."

The distance that the function repeats itself along is the "period."

API

skippedPeriodicValues(start, distance, value, period)

Find the number of values skipped across "distance."

Something went wrong with that request. Please try again.