var myid = chrome.runtime.id;
$(document).ready(function() {
var a = 0;
$('.cost_T1 span').each(function() {
a += +$(this).text()
})
$('.ex_col_remove').text(a) // выводим где надо
console.log(a)
})
computed: {
filteredItems() {
const f = this.activeFilter;
return f ? this.items.flatMap(function(n) { return n[f] }).filter(Boolean) : [];
}
}
return f ? this.items.flatMap(function(n) { return n[f] }).filter(Boolean) : [];
let myObj = {};
let questions = prompt("перечислите цифры через запятую?");
myObj.questions = questions.split(",");
for (let letter of myObj.questions) {
letter = letter.trim();
letter = letter[0].toUpperCase() + letter.slice(1);
console.log(letter);
}