code: function goBack () {
        if (backHistory.length) {
          canGoForward.set(true)
          forwardHistory.push(currentView())
  
          var view = backHistory.pop()
          loadView(view)
  
          currentView.set(view)
          canGoBack.set(backHistory.length > 0)
        }
      }
docs: scoped