Get Array Input Value Javascript Compiler