assert.throws(function () { var {} = null; }, /Cannot destructure undefined/);