Index_R


R

rabbit breeding, Fibonacci series 124

Random method, Math object 58 , 97 , 388

Rectangle prototype

custom objects, creating 222

recursion 123

Fibonacci series example 123

calculating Nth number 125

if statement 125

RegExp object 219

regular expressions 320

regular expressions

attributes 324

character classes 324

common representations 326

negating 325

using 324

character/character sequences and matches 322

creating 320

defining a pattern of characters 320

invention of 321

matching a date 329

matching a word 340

organizing patterns 328

alternation, grouping and reference characters 328

other uses for 339

RegExp object 320

repeating elements 327

repetition syntax 327

special characters 321

splitting a string 309

String object methods 322

syntax 322

trimming a string 333–334

replace method, String object

regular expression methods 322

reserved words, using as identifiers

syntax errors 351

return keyword 63 , 109

creating functions 103

function for adding numbers 109

return statements 72

returnValue property, event object

canceling a form submission 273

reverse method, Array object 173

reversing a string 315

do/while statements 87

for statements 79

reversing words in string 313

revString function 316

Rock, Scissors, and Paper game 44

arrays 57

building 55

functions 58

HTML form elements 56

organization of code 61

playing the game 64

Random method 58

shakeIt function

determining user choice 62

generating choice for computer 62

steps required 55

user interface 58

building 59

whoWon function 63

switch case statements 69

rollover, creating

graphic files 384

Image object 382

runtime errors 344

exception handling 360




Learn How to Program Using Any Web Browser
Learn How to Program Using Any Web Browser
ISBN: 1590591135
EAN: 2147483647
Year: 2006
Pages: 115
Authors: Harold Davis

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net