# Ruby, <s>20</s> 18 bytes -2 bytes because the spec changed and I no longer need an exponent argument. <!-- language-all: lang-ruby --> ->x{eval [x]*x*?*} [Try it online!](https://tio.run/nexus/ruby#S7ON@a9rV1GdWpaYoxBdEatVoWWvVfu/oLSkWCEtOj21pFivJD8@M/a/CQA "Ruby – TIO Nexus")