summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/escope/node_modules/es6-map/node_modules/es6-set/test/ext/get-last.js
blob: 1dcc993ed0ec739654ed3c2f5c00f7f60eaaa4f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';

var Set     = require('../../');

module.exports = function (t, a) {
	var content = ['raz', 2, true], set = new Set(content);

	a(t.call(set), true);

	set = new Set();
	a(t.call(set), undefined);
};