JavaScript string slice() considered harmful | Dark Hacker News