ページへ戻る
− Links
印刷
TypeScriptの関数
の編集 ::
NJF Wiki
xpwiki
:
TypeScriptの関数
の編集
# v50d750e の編集
ページ内容:
*関数定義 [#v50d750e] TypeScriptの関数定義はJavaScriptと同様で型が指定できるだけである。 function testFunc(x:number,y:number):number{ return x + y; } console.log(testFunc(2,4)); // => 6
編集の要約:
Q & A 認証:
ページ更新時は次の質問にお答えください。(プレビュー時は必要ありません)
Q:
「名古屋」の読みがな?(ひらがなで)
A:
お名前:
タイムスタンプを変更しない
テキスト整形のルールを表示する
[1]
Links list
(This host) = https://njf.jp
(This host)
/cms/modules/xpwiki/?cmd=edit&help=true&page=TypeScript%E3%81%AE%E9%96%A2%E6%95%B0