includes.js 357 B

1234567891011121314
  1. /*
  2. includes.js
  3. This script file include another JavaScript file during runtime
  4. */
  5. console.log("Include another script at runtime")
  6. var success = includes("hello world.js")
  7. if (success){
  8. console.log("You should see \"Hello World!\" output above")
  9. }else{
  10. console.log("Oops. Something went wrong when executing the AGI includes function")
  11. }