I'm trying to clone the window. I used lodash for this. Lodash didn't work, because it brought me empty object. I've tried the methods on this link. None of them worked. How do I clone the window?
let w=_.cloneDeep(window);// w={}
//test
console.log(window.console===w.console);