Reference · The <chikyu-space> element
BODY_NAMESconstant
The eleven bodies the space view places, names and lets a reader choose: the Earth, the Sun, the Moon, the seven other planets and Pluto.
Import it
import { BODY_NAMES } from "@johnmorrisdotca/chikyu-earth/space/element";
Definition
const BODY_NAMES: readonly ["Earth", "Sun", "Moon", "Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"] = ["Earth", "Sun", "Moon", ...PLANETS] as const
Examples
import { BODY_NAMES } from "@johnmorrisdotca/chikyu-earth/space/element";
console.log(BODY_NAMES.join(", "));