Comment

Comment by bmomb

Just a little trivia;

The fastest way to reverse a string is in JS is:

  function reverse(s) { 
    var o = []; 
    for (var i = 0, len = s.length; i <= len; i++) 
      o.push(s.charAt(len - i)); 
     return o.join('');  
  }
parent bmomb 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton