#!/bin/bash

cat > test.js << EOF
print("hi");
EOF

$SANDBOXOS test.js