compiler-discord/docker/javascript/run.sh
2019-06-01 01:04:15 -04:00

5 lines
114 B
Bash

if [ "$EVAL_HARMONY" = "true" ]; then
printf %s "$1" | node --harmony -p
else
printf %s "$1" | node -p
fi