Skip to main content
added 56 characters in body
Source Link
l4m2
  • 28.3k
  • 2
  • 25
  • 103

JavaScript, 6562 bytes

f=(m,n)=>m

n=>g=m=>m?fg(--m,n)+'<tr>'+`<t$+"<tr>"+`<t${m?'d'"d":'h'"h"}>x`>A`.repeat(n):'<table>'"<table>"

document.write(f(4,3)(5));

-3 from noodle man, changing calling convention.

JavaScript, 65 bytes

f=(m,n)=>m?f(--m,n)+'<tr>'+`<t${m?'d':'h'}>x`.repeat(n):'<table>'

document.write(f(4,3));

JavaScript, 62 bytes

f=

n=>g=m=>m?g(--m)+"<tr>"+`<t${m?"d":"h"}>A`.repeat(n):"<table>"

document.write(f(4)(5));

-3 from noodle man, changing calling convention.

Post Undeleted by l4m2
Post Deleted by l4m2
Source Link
l4m2
  • 28.3k
  • 2
  • 25
  • 103

JavaScript, 65 bytes

f=(m,n)=>m?f(--m,n)+'<tr>'+`<t${m?'d':'h'}>x`.repeat(n):'<table>'

document.write(f(4,3));