We want to make this open-source project available for people all around the world.
Help to translate the content of this tutorial to your language!
Will alert be shown?
alert
if ("0") { alert( 'Hello' ); }
Yes, it will.
Any string except an empty one (and "0" is not empty) becomes true in the logical context.
"0"
true
We can run and check:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル