var array_eq = [],
nameLength = document.getElementsByClassName("name_eq").length;
for (var i = 0; i < nameLength; i++) {
var value = document.getElementsByClassName("name_eq")[i].value;
array_eq.push([value]);
}
for (var i = 0; i < array_eq.length; i++) {
var num_arr = array_eq[i][0];
var name_ar = '[name = sn' + num_arr + ']';
array_eq[i].push($(name_ar).val());
}
console.log(array_eq);