moment/moment — pull request #1353 by mikach (2013-12-12 15:38:58+00:00)
Title: Performance optimization

Switch checking `Object.prototype.toString` with `instanceof`.

http://jsperf.com/tostring-vs-instance2of

`instanceof` works much faster so if it's equals true second condition will be not executed.