diff --git a/ramda.js b/ramda.js
index <HASH>..<HASH> 100644
--- a/ramda.js
+++ b/ramda.js
@@ -42,7 +42,7 @@
             from = from || 0;
             to = to || args.length;
 
-            arr = new Array (from - to);
+            arr = new Array (to - from);
 
             i = from - 1;
             while (++i < to) {
Corrected length definition in _slice