I'm creating a custom block and I'd like to add some Javascript to it.
I'm using a Render Array to add the Javascript to the page, which works fine, I'm then trying to add some variables to the Render Array for the Javascript to use.