Echo JS 0.11.0


kolodny comments

kolodny 465 days ago. link 1 point
data:text/html,<pre id=p><script>n=setInterval("for(n+=7,i=k,P='p.\\n';i-=1/k;P+=P[i%2?(i%2*j-j+n/k^j)&1:2])j=k/i;p.innerHTML=P",k=64)</script>
kolodny 1005 days ago. link 1 point
True, I meant to say react inspired template engine
kolodny 1267 days ago. link 4 points
I know what it is and how it's being used, my issue is with this being on a slide titled "good code", the fact that you can mistake my comment as a developer not understanding what that code does further proves my point
kolodny 1271 days ago. link 1 point
One of the "good code" slides has this

    let startsWithVowel = word => !!~VOWELS.indexOf(word[0]);

kolodny 1420 days ago. link 1 point
1. The tests could be a little stricter, what I have it just an example.

2. You're right, it should have been:

  // if name is omitted
  args.splice(0, 0, null);

  // if deps is omitted
  args.splice(1, 0, [])

  // if fn is ommited
  args.splice(2, 0, noop);

I'll edit the post when I get a chance