Skip to main content
Remove accidental dot
Source Link
noodle person
  • 10.3k
  • 1
  • 22
  • 76

JavaScript (Node.js), 21 bytes

x=>'x'.repeat('0b'+x)

Try it online!

.

JavaScript (Node.js), 21 bytes

x=>'x'.repeat('0b'+x)

Try it online!

.

JavaScript (Node.js), 21 bytes

x=>'x'.repeat('0b'+x)

Try it online!

Source Link
l4m2
  • 28.4k
  • 2
  • 25
  • 103

JavaScript (Node.js), 21 bytes

x=>'x'.repeat('0b'+x)

Try it online!

.