I have a weird variable that when alerted seams to be a string but in the console it is a DOMSelection (in tree form) how can I get access the the string from the console.
DOMSelection
anchorNode: Text
anchorOffset: 36
baseNode: Text
baseOffset: 36
extentNode: Text
extentOffset: 40
focusNode: Text
focusOffset: 40
isCollapsed: false
rangeCount: 1
type: "Range"
__proto__: DOMSelection
Call toString() on it according to https://developer.mozilla.org/En/DOM/Selection