Permalink
Browse files

Mention in the Docs that $splat is not exactly the same as Array.from…

… for Array-like objects such as NodeList or FileList
  • Loading branch information...
1 parent e329128 commit b8a712d2c638bb41213b744f11e34fe65c4f8d4b @arian arian committed with cpojer Jan 23, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 Docs/Core/Core.md
  2. +2 −1 Docs/Types/Array.md
View
@@ -345,7 +345,7 @@ Function: $splat {#Deprecated-Functions:splat}
-------------------------
This method has been deprecated. Please use [Array.from](/core/Types/Array#Array:Array-from) instead.
-
+However `$splat` does *not* transform Array-like objects such as NodeList or FileList in arrays, `Array.from` does.
Function: $time {#Deprecated-Functions:time}
View
@@ -108,7 +108,8 @@ Converts the argument passed in to an array if it is defined and not already an
### Notes:
-This is equivalent to *$splat* from MooTools 1.2.
+This is equivalent to *$splat* from MooTools 1.2, with the exception of Array-like Objects such as NodeList or FileList which `Array.from` does transform in
+Arrays and `$splat` not.

0 comments on commit b8a712d

Please sign in to comment.