let isSuportLocalstorage = ()=> window.localStorage ? true :false console.log(isSuportLocalstorage());