Runtime.globalLexicalScopeNames

Returns all let, const, and class variables from the console global scope.

{
  "name": "globalLexicalScopeNames",
  "returns": [
    {
      "name": "names",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  ],
  "description": "Returns all let, const, and class variables from the console global scope."
}