joyent/node — pull request #7935 by luciotato (2014-07-13 00:25:40+00:00)
Title: Update path.js

Maybe I'm missing something, but seems to be a small inconsequent bug in internal function trim(arr). 2nd parameter of slice() is slice's end index (not included).