basically you have to think that if you have a || b || c || .... || X (x number of comparisons), at the worst case you will need to check X number of times and the less is checking once (a is truthy).
this is because how || works, it will stop at the first TRUE statement.
so
function CodeBlock1(x,y,z,n,m,p){
var a= x || y || z; //this will check 1, 2 o 3 times
var b= n || m || p; //this will check 1, 2 o 3 times
var c = a || b; //this will check 1 or 2 times.
//worse case you will check 3 + 3 + times.
return c;
}
function CodeBlock2(x,y,z,n,m,p){
// this will check 1, 2, 3, 4, 5 or 6 times
return x || y|| z || n || m || p;
}
so basically the worse case for CodeBlock2 is 6 times and the worse for CodeBlock1 is 8.
also you are defining more variables on the CodeBlock1 so maybe that will add more load.