¿Cómo hacer que javascript sea compatible con shebang (#!)?
Algunos lenguajes de script (como Python o Bash) usan#
para comentarios.
#!/usr/bin/env python
print 'hello, world'
Puedo ejecutar el script:
python script.py
O
./script.py
¿Es posible hacer soporte de JavaScript shebang?