From ea98108d9d8510aef1c5e42c2be4c2d28f43eb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Wed, 10 Jun 2015 16:25:08 +0200 Subject: [PATCH] Fix jsdoc for splice Array.prototype.splice returns an Array, not a Number. --- src/standard/notify-path.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standard/notify-path.html b/src/standard/notify-path.html index d8a63a9650..3e9527a02c 100644 --- a/src/standard/notify-path.html +++ b/src/standard/notify-path.html @@ -404,7 +404,7 @@ * @param {number} start Index from which to start removing/inserting. * @param {number} deleteCount Number of items to remove. * @param {...any} var_args Items to insert into array. - * @return {number} New length of the array. + * @return {Array} Array of removed items. */ splice: function(path, start, deleteCount) { var array = this.get(path);