If the console has not opened you may need to enable popups.
Last command executed:
put(msg) writes simple text to the console:
filter used for keys() and keys() below. For dump() filters can be nested; one filter for each recursion level (not shown here). Sort: None Ascending (default) Descending Show functions Write regular expressions to match property names against (example: /^[a-z]/): Include: Exclude: Limit: (default=no limit (0))
/^[a-z]/
dump(label, data, recurse, filter) dumps a data structure to the console, with data type indicators, and with configurable recursion, sorting and filtering (configure above). Recursion level: 0 1 (default) 2 3 Dump some builtin's: window window.location window.navigator document document.body document.forms Dump something else:
keys(label, data, filter) is like dump, except it only dumps the keys, not the values, and is not recursive. Uses the filters above ("recursion level" and "show functions" are ignored). Show some builtins' keys: window window.location window.navigator document document.body document.forms Show some other keys:
dom() dumps a DOM/XML tree structure, as markup rather than as a JS data structure. Pretty basic, no options or filters. Show some DOM hierarchy: document document.body Show some other hierarchy: