Thomas Shinnick a5d90c435c path.js: correct three harmless .length typos
lib/path.js routines normalizeArray() and resolve() have for loops that
count down from end of an array.  The loop indexes are initialized using
"array.length" rather than "array.length-1".  The initial array element
accessed is always beyond the end of array and the value is 'undefined'.
Strangely, code exists that acts to ignore undefined values so that the
typos are unnoticeable.

Existing tests emit no errors either before or after changing to "length-1".
Tests _do_ start failing at "length-2". (Actually it is node that starts
to fail at "length-2" - that's a valid enough test...)
2011-08-14 04:10:42 +02:00
2011-08-01 15:14:14 -07:00
2011-08-14 03:15:12 +02:00
2011-08-14 02:51:35 +09:00
2011-08-11 04:52:33 +02:00
2011-08-12 01:10:41 +02:00
2011-07-22 03:55:26 -07:00
2011-08-12 01:17:05 -07:00
2011-02-18 10:45:25 -08:00
2010-11-22 13:32:49 -08:00
2011-08-09 10:19:48 -07:00
2011-08-09 10:19:48 -07:00
2010-11-23 23:33:20 -06:00
2011-08-11 04:52:33 +02:00
2011-08-08 14:15:51 -07:00
2011-01-05 11:59:04 -08:00
2011-02-04 14:49:50 -08:00

Evented I/O for V8 javascript.

To build:

./configure
make
make install

To run the tests:

make test

To build the documentation:

make doc

To read the documentation:

man doc/node.1

Resources for Newcomers

Description
Node.js JavaScript runtime 🐢🚀 nodejs.org
Readme Multiple Licenses 1.4 GiB
Languages
JavaScript 62.4%
C++ 23.1%
Python 10.1%
C 2.7%
HTML 0.6%
Other 0.9%