title: Drupal 8 Custom Block how to attach JavaScript ?
body: <p>I have created a custom block successfully and just want to call java script alert function on the block. I have created a .js file .The issue is how to call the function declared in the javascript throgh array render in build function of the BLOCK PHP</p>