this.isSomething = isSomething;
}
The above code in #JS is not working. What is the correct way to access variable declared outside function while having an argument with same name?
function doSomething(isSomething) { this.isSomething = isSomething; } var d = new doSomething(false);
ah i misread
Обсуждают сегодня