Math.max(...array)
[...new Set(array)]
new Date().toString()
Object.values(object)
array.filter(x => x === element).length
{ [key]: value }
beforeEach(() => {
const urlparams = `firstparam=thisismyfirstparamvalue`;
window.history.pushState({}, 'Page title while testing', `/myurl/with/params?${search}`);
});
javascript:var i=0,x=document.getElementsByClassName('jobs-search-results-list')[0];function phase2(){document.querySelectorAll("li").forEach(function(e){e.id&&e.innerHTML.match(/Promoted/)&&e.remove()}),setTimeout(function(){x.scrollTop=0},0)}!function e(){x.scroll(0,100*++i),i>40?phase2():setTimeout(e,0)}();