JAVASCRIPT   22

every.js

Guest on 9th June 2021 04:19:16 AM

  1. 'use strict';
  2.  
  3. var Set = require('../../');
  4.  
  5. module.exports = function (t, a) {
  6.       a(t.call(new Set(), Boolean), true, "Empty set");
  7.       a(t.call(new Set([2, 3, 4]), Boolean), true, "Truthy");
  8.       a(t.call(new Set([2, 0, 4]), Boolean), false, "Falsy");
  9. };

Raw Paste


Login or Register to edit or fork this paste. It's free.