SP
Size: a a a
SP
а
AZ
p
AZ
DF
SP
p
let index: number;выводит "string", лул
try {
index = <number>($("#new_cycle").val());
}
catch {
alert("Введите число!");
return;
}
console.log(typeof index);
С
С
p
SP
let index: number;выводит "string", лул
try {
index = <number>($("#new_cycle").val());
}
catch {
alert("Введите число!");
return;
}
console.log(typeof index);
p
AZ
SP
AZ
let index: number;выводит "string", лул
try {
index = <number>($("#new_cycle").val());
}
catch {
alert("Введите число!");
return;
}
console.log(typeof index);
AZ
AZ
p
AZ