intoli / user-agents

A JavaScript library for generating random user agents with data that's updated daily.
Other
981 stars 51 forks source link

What is `Number` in UserAgent filter? #4

Closed LeMoussel closed 5 years ago

LeMoussel commented 5 years ago

In API documentation: class: UserAgent([filters])

filters <Array, Function, Number, Object, RegExp, or String> - A set of filters to apply to the generated user agents.

What is Number?

sangaline commented 5 years ago

This appears to have been a mistake in the API documentation which has now been corrected. Numbers aren't parsed as valid filters.