10 Баллов, помогите
function makeCounter() {
Function counter() {
return counter.currentCount++;
} ;
counter currentCount = 1;
return counter;
};

var counter = makeCounter( );
alert(counter( ) ); // 1
alert(counter( ));// Что делает этот код JavaScript​
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.