Please describe the use of the different bracketing symbols in HTML/JavaScript: (

  • Thread starter Thread starter Ten
  • Start date Start date
T

Ten

Guest
), { }, [ ], <>? ...I'm studying for my study guide for a class and lost my notebook and Internet research isn't helping. Thanks for the click.
 
() - (JavaScript) used in containing equations, and sometimes strings too
{} - (JavaScript) used in opening/closing a statement, such as: loops, functions, etc..
[] - (JavaScript) used to access arrays
<> - (HTML) used to define the HTML tags such as <div>, <a>, etc...
 
Back
Top