KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What does it mean to return a value with &&? else if (document.defaultView && document.defaultView.getComputedStyle) { // It uses the traditional ' text-align' style of rule writing, // instead of textAlign name = name.replace(/([A-Z]) /g, " -$1" ); name = name.toLowerCase(); // Get the style object and get the value of the property (if it exists) var s = document.defaultView.getComputedStyle(elem, " ") ; return s && s.getPropertyValue(name) ;
Tags (comma-separated)
Save Edits
Cancel