From 7b8b7fdf3bd39e2f116c208664c8a5d6e385706a Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Fri, 24 Jul 2015 17:40:04 -0700 Subject: [PATCH] Correct & simplify per spec. --- src/standard/notify-path.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/standard/notify-path.html b/src/standard/notify-path.html index 8b0a4ff495..5556c35017 100644 --- a/src/standard/notify-path.html +++ b/src/standard/notify-path.html @@ -431,11 +431,11 @@ var array = this.get(path); // Normalize fancy native splice handling of crazy start values if (start < 0) { - start = array.length - Math.floor(Math.abs(start)); + start = array.length - Math.floor(-start); } else { start = Math.floor(start); } - if (!start || !isFinite(start)) { + if (!start) { start = 0; } var args = Array.prototype.slice.call(arguments, 1);