fast-check icon indicating copy to clipboard operation
fast-check copied to clipboard

Object arbitrary must be able to produce Arguments

Open dubzzz opened this issue 3 years ago • 0 comments

💡 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))

dubzzz avatar Oct 09 '20 20:10 dubzzz