]> git.ipfire.org Git - thirdparty/moment.git/commit
perf: checking == null faster than hasOwnProperty
authorBrian Wyant <brian.wyant@oracle.com>
Wed, 22 Apr 2015 14:30:55 +0000 (10:30 -0400)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 4 May 2015 04:14:12 +0000 (21:14 -0700)
commitaae371ada754bace891dccbf7e832b135137e898
tree0df3d600a051d9da8dd3a26d642805a69ea0546f
parent61f1418f69632a4e038889cde93358b6a49d4953
perf: checking == null faster than hasOwnProperty

http://jsperf.com/hasownproperty-vs-in-vs-other/4
src/lib/moment/constructor.js