Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Calling splice(-1) on empty can.List object fires weird change event

$
0
0
Hi all,

I noticed that a weird change event gets fired when calling splice(-1) on an empty can.List
The change event is a 'remove' event on '-1' and has newVal being undefined and oldVal being Array[0]

Just thought I would like to share this and maybe it's a bug.

- CanJS User

Viewing all articles
Browse latest Browse all 3491

Trending Articles