文字を表示。
フォントサイズを調整。
"use strict";
const FONT = "48px monospace"; //使用フォント
//ブラウザ起動イベント
window.onload = function(){
const ca = document.getElementById("main"); //mainキャンバスの要素を取得
const g = ca.getContext("2d"); //2D描画コンテキストを取得
g.font = FONT; //文字フォントを設定
g.fillText("Hello World!", 0, 64);
}