JAVASCRIPT   14

get-first.js

Guest on 9th June 2021 04:17:09 AM

  1. 'use strict';
  2.  
  3. var Set     = require('../../');
  4.  
  5. module.exports = function (t, a) {
  6.       var content = ['raz', 2, true], set = new Set(content);
  7.  
  8.       a(t.call(set), 'raz');
  9.  
  10.       set = new Set();
  11.       a(t.call(set), undefined);
  12. };

Raw Paste


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