御风
Results
2
comments of
御风
``` function add(...params) { const result = add.bind(null, ...params); result.value = () => params.reduce((accumulator, cur) => accumulator + cur); return result; } ```
function echoValueClockWise(matrix) { const temp = matrix.slice(); const result = []; while (temp.length > 0) { result.push(...temp.shift()); temp.forEach(arr => result.push(arr.pop())); result.push(...(temp.pop() || []).reverse()); for (let i = temp.length - 1;...