Table of Contents## Comments

Entire Site

Comments provide a way to document your programs so that
other people can figure out what you did. There are two kinds of
comments in ECMA Script. If you place two forward slashes in a row
(`//`

) they and everything to the end
of that line are considered to be a comment. If you want a multi-line
comment, start with `/*`

and end with
`*/`

as shown here:

var interest; // this is accumulated on a daily basis var rate; // expressed as a decimal; 75% is a rate of 0.75 /* Figure out the payment amount given a principal of $10,000 and 180 monthly payments. */