2022-02-05から1日間の記事一覧
概要 テストプログラム const returnEtc = (key: string) :string => key && (key + ' foobar!'); let returnValue = returnEtc('testdayo'); console.log(returnValue); 結果 testdayo foobar! phpだと、&& 演算子の返却値はあくまでbooleanな気がするが、j…
概要 テストプログラム const returnEtc = (key: string) :string => key && (key + ' foobar!'); let returnValue = returnEtc('testdayo'); console.log(returnValue); 結果 testdayo foobar! phpだと、&& 演算子の返却値はあくまでbooleanな気がするが、j…