Jak sprawdzić element ma atrybut js


        
            
        
     let result = element.hasAttribute(name);
Clever Corncrake