Alpine.js Playground

4 horizontal rules using Array.from({ length: 4 }):

4 horizontal rules using new Array(4).fill(null):

4 horizontal rules using new Array(4).fill(undefined):

Code