Multiplication tables: Difference between revisions
→Functional (ES5)
Line 2,030:
lstTable = [['x'].concat(lstRange)].concat(
chain(lstRange, function (
return [[
chain(lstRange, function (
return
})
)]
Line 2,060:
'text-align:center;width:33em;height:33em;table-layout:fixed;'
) + '\n\n' +
// or simply stringified as JSON
JSON.stringify(lstTable);
})(1, 12);</lang>
{{out}}
|