Skip to content

Instantly share code, notes, and snippets.

@unstabler
Created April 12, 2019 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unstabler/a14e6e6e33aadec422afd448b4a1f9a3 to your computer and use it in GitHub Desktop.
Save unstabler/a14e6e6e33aadec422afd448b4a1f9a3 to your computer and use it in GitHub Desktop.
자바스크립트이면서 쉘 스크립트인 스크립트
function print() {
//usr/bin/true && echo $@; return 0;
/;# /; console.log(...arguments);
}
function func1() {
//usr/bin/true && print "Hello from shell-script! :^)"; return 0;
/;# /; print("Hello from JavaScript :^)");
return 0;
}
//usr/bin/true && func1 && exit;
/; #/; func1();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment