気色悪かった
note
初学者らしい話。
これが
const str = "";
{ str ? (
<p>Hello World!!</p>
) : (
<p>Good Bye!!</p>
) }
こうなる
<p>Good Bye!!</p>
音楽性の違いを感じる。
null
とか undefined
とか 0
ならまあ分かる。
でも調べたら js, php, python で false
になるらしい。
音楽性の違いを感じる。
初学者らしい話。
これが
const str = "";
{ str ? (
<p>Hello World!!</p>
) : (
<p>Good Bye!!</p>
) }
こうなる
<p>Good Bye!!</p>
音楽性の違いを感じる。
null
とか undefined
とか 0
ならまあ分かる。
でも調べたら js, php, python で false
になるらしい。
音楽性の違いを感じる。