aslv

Properties

Jul 17th, 2014
269
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var input = document;
  2.  
  3. function displayProperties(value) {
  4.     var properties = Object.keys(value);
  5.     properties.sort();
  6.     console.log(properties.join('\n'));
  7. }
  8.  
  9. displayProperties(input);
RAW Paste Data