Rabu, 26 Januari 2011

Javascript in Ten Minutes

Basic Typesvar intValue = 1;var floatValue = 3.0;var stringValue = "This is a string\n";var sqString = 'This is also a string';Javascript is a dynamically typed language. Variables are declared with the keyword var. Common simple types are supported. Arraysvar emptyList = [];var homogenousList = [1, 2, 3];var heterogenousList = ["one", 2, 3.0];Javascript has built-in collection objects. The Array

Tidak ada komentar:

Posting Komentar