I don’t think you can do just that. To start JS with access to the console, you can either copy its source to the console or into the address bar / address bar ( javascript:(js code here)).
, , - JS HTML chrome -u file:///path/to/file.html. JS <script> file:/// src, .
chrome , /, , .