fast-check
fast-check copied to clipboard
Object arbitrary must be able to produce Arguments
💡 Idea
Object arbitrary must be able to produce Arguments
Motivation
fc.object
and fc.anything
should be able to generate barely any kind of JavaScript objects. Arguments are one of them.
Example
Here is a way to get arguments instance:
c = (function() { return arguments; }(1, 2, 3))