swc_core::ecma::utils::swc_atoms

Macro atom

macro_rules! atom {
    ($s:tt) => { ... };
}
Available on crate features __ecma and __utils only.
Expand description

Creates an Atom from a constant.