Reference · Facts, line drawings and positions
PLANET_IDSconstant
The planets and the dwarf planet Pluto, nearest the Sun first.
Import it
import { PLANET_IDS } from "@johnmorrisdotca/wakusei-planets";
Definition
const PLANET_IDS: readonly ["mercury", "venus", "earth", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] = ["mercury", "venus", "earth", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] as const
Examples
import { PLANET_IDS } from "@johnmorrisdotca/wakusei-planets";
console.log(PLANET_IDS.join(", "));mercury, venus, earth, mars, jupiter, saturn, uranus, neptune, plutoWhat it prints (run when this page was built)