Skip to main content
Remove accidental dot
Source Link
noodle person
  • 12.6k
  • 1
  • 31
  • 90

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
  • 32.5k
  • 2
  • 26
  • 116

JavaScript (Node.js), 21 bytes

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

Try it online!

.