我有一个函数,它接受列表中所有未被选中的项,并从它们中创建一个新数组。$('#clearChecked').click(function() { $('.check').each(function() { if (!$curr.is(':checked')) {
var value = $curr.parent().tex
我目前使用的是基于userPreference值从数组中删除其中一个对象的最好、最有效的方法。{ /// here I want to remove outro2 from my arrayand return an array with the other 3 values
} else (this.userPreference === "noNewslett