You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test-core-js.js 309B

12345678910111213141516
  1. 'use strict';
  2. require('core-js');
  3. var inspect = require('./');
  4. var test = require('tape');
  5. test('Maps', function (t) {
  6. t.equal(inspect(new Map([[1, 2]])), 'Map (1) {1 => 2}');
  7. t.end();
  8. });
  9. test('Sets', function (t) {
  10. t.equal(inspect(new Set([[1, 2]])), 'Set (1) {[ 1, 2 ]}');
  11. t.end();
  12. });