clear.js 150 B

1234567
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. var x = [1, 2, {}, 4];
  4. a(t.call(x), x, "Returns same array");
  5. a.deep(x, [], "Empties array");
  6. };