google-play-scraper
google-play-scraper copied to clipboard
Don't mutate options objects
Most of the methods take an options object and then mutate by setting default values, like here. This is not a good practice, since the methods don't own those objects and are introducing unexpected side effects. Use Object.assign instead to make copies of the options.