PLANETS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The planets drawn, nearest the Sun first.
インポート
import { PLANETS } from "@johnmorrisdotca/chikyu-earth/space";
定義
const PLANETS: readonly ["Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"] = ["Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", "Pluto"] as const
例
import { PLANETS } from "@johnmorrisdotca/chikyu-earth/space";
console.log(PLANETS.join(", "));Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。