numbers evaluates expressions as either true or false booleans. (if they are, they becomes characters to string). strings used in computation and are NOT put in quotes promt("") in the broadest sense, datatypes come in three main catagories:īooleans datatypes collection of characters.Įxtremely useful labels, names, and content for your program. Takes a string argument to display the message. Takes a string as an arguement confirm("") shows popup box with message asking for input. comments store blocks of code that you can later call at any time to avoid repetition in your program function function that pops up and show confirmation box: *there are many more operators in programming some basic mathematical operators are // - are used for commenting one line. *is this a member function of string object? (edit later). ![]() writing "this has 17 chars".length is the same as the number 17 b/c the string has 17 chars ![]() var) keywords tells how many characters are in a string.Į.g. The kinds of words a compiler/identifer/interpreter/computer can understand
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |