01:198:170 Lecture Notes - Lecture 10: Empty String, Javascript, Decimal Mark

95 views5 pages
taupebee294 and 9 others unlocked
01:198:170 Full Course Notes
9
01:198:170 Full Course Notes
Verified Note
9 documents

Document Summary

Parts of javascript (gives you the action, makes your page usable: action, Variables & their rules: storage location that you create to store data/information that you created, a space for the program to hold data, the name is separable from the value (but descriptive) You want your variable"s name to be descriptive so that it"s easier to retrieve your data: must begin w/ letter, then any sequence of letters, numerals, or the underscore symbol (but no spaces) !1: ex: taxamount an example of convention (the capital a makes variable easier for. Variable declaration statement: var tells computer that it"s a variable; creates the variable, ex: var age; command declares there"s one variable (age, ex: var area, radius; declares there"s two variables (area & radius) Initializing a declaration: putting a value to a variable for the rst time, declaring variables with initial values is written as. Var taxrate = . 088, balancedue = 0;

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents