pub fn constant(name: &str) -> Option<Value>Expand description
Non-function net namespace members: the class constructors, exposed as
builtin ctor namespaces so .prototype resolves and new net.X(...) routes
through stdlib::construct → net::construct. Stream is a legacy alias of
Socket. Reachable via namespace_property → stdlib::constant once the
parent adds a "net" => net::constant(name) arm.