2018-03-24 16:22:20 +05:30

4 lines
82 B
JavaScript

expect(function () {
var {} = null;
}).toThrow("Cannot destructure undefined");