Skip to main content

ANONYMOUS_BINDING

Constant ANONYMOUS_BINDING 

Source
pub const ANONYMOUS_BINDING: &str = "<null>";
Expand description

The name of a binding the source never named.

A pattern parameter occupies one argument slot but binds several names, so the slot itself has no name; the reference gives it JS_ATOM_NULL, which its dump prints as <null>. Keeping the same spelling here keeps the dump byte-identical and makes the anonymous slots easy to spot.