problem-solve

run with browser (chrome recommended)

  • open 0_run_aj.html file in chrome, firefox, safari, ...
  • open developer tool in a browser and see Console.

run with nodejs

install nodejs

run these commands in console

> node a_random-number-1000-9999.js
> node b_two-power.js
> node c_random-string-20-length.js
> node d_is-service-time-bus.js
> node e_snail-array.js
> node f_is-straight-line-3points.js
> node g_string-count-compress.js
> node h_2array10-inter-union.js
> node i_hello-3hel-5low.js
> node j_is-12345-exist.js

good references