Skip to content
HALOWERK

Code and API Checks

ecmascript iterator protocols

JavaScript iterator lookup reports which named built-ins explicitly document synchronous and asynchronous iteration hooks. Use it when an agent needs compatibility evidence for a JavaScript language choice.

POST https://code.halowerk.com/v1/ecmascript-iterator-protocols

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
builtinstringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "builtin": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "snapshot": {
      "enum": [
        "8.1.11"
      ]
    }
  },
  "required": [
    "builtin"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "builtin": "Array",
  "snapshot": "8.1.11"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "synchronous": {
          "type": "boolean"
        },
        "asynchronous": {
          "type": "boolean"
        },
        "symbol_hooks": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "synchronous",
        "asynchronous",
        "symbol_hooks"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’