Clara

14%
Flag icon
The most common filters are the hasOwnProperty method and using typeof to exclude functions: var name; for (name in another_stooge) {     if (typeof another_stooge[name] !== 'function') {         document.writeln(name + ': ' + another_stooge[name]);     } }
JavaScript: The Good Parts: The Good Parts
Rate this book
Clear rating
Open Preview