function getThen(obj) {
  try {
    return obj.then;
  } catch (ex) {
    LAST_ERROR = ex;
    return IS_ERROR;
  }
}
Unescapes a string by removing the leading "_". This function is the inverse
of escape, which is used to encode untrusted input to ensure it
does not contain reserved JSON Graph keywords (ex. "$type").