4 lines
82 B
JavaScript
4 lines
82 B
JavaScript
expect(function () {
|
|
var {} = null;
|
|
}).toThrow("Cannot destructure undefined");
|