Didactical material
Name __________________ Class ______________________
Objective: 10.4.2.3 use ready-made scripts in web-development
1. On one single line, declare three variables with the following names and values:
firstName = "John"
lastName = "Doe"
age = 35
var ____________ = "John"_________ lastName = ____________ = _______;
2. Use comments to describe the correct data type of the following variables:
var length = 16; //__________________
var lastName = "Johnson"; // _________________
var x = {
firstName: "John",
lastName: "Doe"
}; //____________
3. Multiply 10 with 5, and alert the result:
alert(10 _____ 5);
Divide 10 by 2, and alert the result:
alert(10 _______ 2);
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.