JavaScript『class{}』
JavaScript 暗記用です
★情報元のサイト様★
「とほほのWWW入門」http://www.tohoho-web.com/www.htm
「MDN」https://developer.mozilla.org/ja/docs/Web/JavaScript
「とほほのWWW入門」http://www.tohoho-web.com/www.htm
「MDN」https://developer.mozilla.org/ja/docs/Web/JavaScript
| 順位 | 名前 | スコア | 称号 | 打鍵/秒 | 正誤率 | 時間(秒) | 打鍵数 | ミス | 問題 | 日付 |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | mh | 2814 | すごいね! | 2.8 | 97.9% | 390.8 | 1124 | 24 | 26 | 2026/02/03 |
| 2 | mikaroko | 2176 | 頑張ったね! | 2.2 | 95.9% | 494.3 | 1124 | 48 | 26 | 2025/12/28 |
関連タイピング
-
自分練習用、英語長文
プレイ回数2712 英語長文1127打 -
Pythonプログラミングのタイピング超入門です。
プレイ回数3277 短文90秒 -
html DOM要素
プレイ回数581 英語長文285打 -
はじプロのノードンを打ち切れ!
プレイ回数86 1575打 -
htmlやcssのタイピングです。
プレイ回数7285 英語長文120秒 -
ホームポジションが自然と身につく!
プレイ回数1457 短文60秒 -
メソッド名やクラス名をタイピングしよう
プレイ回数271 長文英字60秒 -
Linux+Bashコマンド。数字と記号を全て含んでいます。
プレイ回数9235 英語長文305打
問題文
ふりがな非表示
ふりがな表示
(class Signal{})
class Signal{}
(class Signal{constructor(Color){this.color=Color;}
info(){console.log(this.color);}})
class Signal{constructor(Color){this.color=Color;}
info(){console.log(this.color);}}
(const stop=new Signal('red');)
const stop=new Signal('red');
(stop.color;)
stop.color;
(stop.info();)
stop.info();
(class Line
{static send(){console.log('Hello!');}})
class Line
{static send(){console.log('Hello!');}}
(Line.send();)
Line.send();
(class Akb
{constructor(member){this.name=member;}})
class Akb
{constructor(member){this.name=member;}}
(class Hkt extends Akb{})
class Hkt extends Akb{}
(const rino=new Hkt('Rino');
console.log(rino.name);)
const rino=new Hkt('Rino');
console.log(rino.name);
(class Square{constructor(value){this.length=value;}
area(){return this.length**2;}})
class Square{constructor(value){this.length=value;}
area(){return this.length**2;}}
(class Cube extends Square
{volume(){return this.length**3;}})
class Cube extends Square
{volume(){return this.length**3;}}
(const box=new Cube(10);
console.log(box.area(),box.volume());)
const box=new Cube(10);
console.log(box.area(),box.volume());
(class Signal
{constructor(Color){this.color=Color;}})
class Signal
{constructor(Color){this.color=Color;}}
(class Singo extends Signal
{constructor(mean){super('blue');this.mean=mean;})
class Singo extends Signal
{constructor(mean){super('blue');this.mean=mean;}
(info()
{console.log(`${this.color} is ${this.mean}`);}})
info()
{console.log(`${this.color} is ${this.mean}`);}}
(const blue=new Singo('Go');
blue.info();)
const blue=new Singo('Go');
blue.info();
(class Blog
{info(){alert('updated');}})
class Blog
{info(){alert('updated');}}
(class Fb extends Blog
{info2(){super.info();}})
class Fb extends Blog
{info2(){super.info();}}
(const fb=new Fb();
fb.info2();)
const fb=new Fb();
fb.info2();
など
(class Akb
{constructor(member){this.name=member;})
class Akb
{constructor(member){this.name=member;}
(info(){alert(`${this.name} was Akb`);}})
info(){alert(`${this.name} was Akb`);}}
(class Hkt extends Akb{})
class Hkt extends Akb{}
(const rino=new Hkt('Rino');
rino.info();)
const rino=new Hkt('Rino');
rino.info();
(const Akb=
class{constructor(winner){this.center=winner;}})
const Akb=
class{constructor(winner){this.center=winner;}}
(const atuko=new Akb('Atuko');
console.log(atuko.center);)
const atuko=new Akb('Atuko');
console.log(atuko.center);