3DS had a game thriving on online multiplayer, a great remake and a glitchy game pushing it (SSB, ORAS, Sonic Boom) PS4 had a game thriving on multiplayer, a great remake, and a glitchy game pushing it (AW, GTAV, AC Unity). So 3DS won because it had a much better library (obviously, 3 years old) a cheaper price, and more people owning one already, so the name has been out there longer.
XBOX ONE/Wii U/3DS/PC
RIP Iwata 12/6/1959-7/11/2015
Thanks for all the great memories!