let succ = function(x) x+1, yes = function() true, no = function() false;
data.sort(function(a,b),b-a);
function oddsums(n)
{
let total = 0, result=[];
for(let x = 1; x <= n; x++)
{
let odd = 2*x-1;
total += odd;
result.push(total);
}
return result;
}
oddsums(5);
console.log(p)
let x=x+1;
console.log(x);
[x,y]=[y,x];