Jump to content

Multiplication tables: Difference between revisions

m
→‎JS ES6: (minor tidying)
m (→‎{{header|REBOL}}: Remove vanity tags)
m (→‎JS ES6: (minor tidying))
Line 2,684:
====ES6====
<lang JavaScript>(() => {
 
// main :: () -> IO String
const main = () => {
return wikiTable(
multTable(1, 12), true,
); true,
'text-align:center;width:33em;height:33em;table-layout:fixed;'
} );
 
// multTable :: Int -> Int -> [[String]]
Line 2,700 ⟶ 2,708:
)
];
};
 
// main :: () -> IO String
const main = () => {
return wikiTable(
multTable(1, 12), true,
'text-align:center;width:33em;height:33em;table-layout:fixed;'
);
};
 
Line 2,757:
}, () => x);
 
// FORMATTING -------------------------------------------------------------
 
// wikiTable :: [[a]] -> Bool -> String -> String
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.