You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Здравствуйте, подскажите какой тег использовать для увеличения значения, пример на картинке.
Вроде, про такой тег я слышала. Если есть тег прогресс бар, значит и такое должно быть.
Question
DivMan
var salaries = {
"Вася": 100,
"Петя": 300,
"Даша": 250
};
var maxNum = 0;
for(var key in salaries) {
if(salaries[key] > maxNum) {
maxNum = salaries[key];
}
}
document.write(maxNum)
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.