'use strict';module.exports=function(fromEntries,t){vara={};varb={};varc={};varentries=[['a',a],['b',b],['c',c]];varobj={a:a,b:b,c:c};t.deepEqual(fromEntries(entries),obj,'entries -> obj');t['throws'](function(){fromEntries();},'entries throws on absent iterable');t['throws'](function(){fromEntries(undefined);},'entries throws on undefined');t['throws'](function(){fromEntries(null);},'entries throws on null');};