BODY_NAMES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
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 { BODY_NAMES } from "@johnmorrisdotca/chikyu-earth/space/element";
定義
const BODY_NAMES: readonly ["Earth", "Sun", "Moon", "Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"] = ["Earth", "Sun", "Moon", ...PLANETS] as const
例
import { BODY_NAMES } from "@johnmorrisdotca/chikyu-earth/space/element";
console.log(BODY_NAMES.join(", "));この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。