Movatterモバイル変換


[0]ホーム

URL:


  1. Glossary
  2. Block
  3. Block (scripting)

Block (scripting)

InJavaScript, ablock is a collection of relatedstatements enclosed in braces ("{}"). For example, you can put a block of statements after anif (condition) block, indicating that the interpreter should run the code inside the block if the condition is true, or skip the whole block if the condition is false.

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp