質問編集履歴
1
JSDoc追記
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -61,6 +61,19 @@
|
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
```JavaScript
|
|
64
|
+
/**
|
|
65
|
+
* (説明)
|
|
66
|
+
* @type {array} cardNum ← カードの配列
|
|
67
|
+
* @type {string} totalCard ← カードの枚数
|
|
68
|
+
* @param {object} $card ← カードの引数
|
|
69
|
+
* @type {string} $firstCard ← カードをめくる1枚目
|
|
70
|
+
* @type {string} $secondCard ← カードをめくる2枚目
|
|
71
|
+
* @type {firstNum} $firstNum ← カードに書かれている数字
|
|
72
|
+
* @type {secondNum} $secondNum ← カードに書かれてる数字
|
|
73
|
+
* @type {string} $openedCard ← めくられたカード
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
**/
|
|
64
77
|
$(function(){
|
|
65
78
|
let cardNum = [];
|
|
66
79
|
let totalCard = 16;
|