Where we can just use a spread-syntax array copy for the same effect,
(namely, ensuring an array has actual items (even if undefined) rather
than "empty" so that map() actually does something).
</p>
<h2>{this.props.prompt.prompt}</h2>
<form onSubmit={this.handle_submit}>
</p>
<h2>{this.props.prompt.prompt}</h2>
<form onSubmit={this.handle_submit}>
- {Array(this.props.prompt.items).fill(null).map((whocares,i) => {
+ {[...Array(this.props.prompt.items)].map((whocares,i) => {