10 ms·
Haha, well it has always been documented to be an Object but turns out that there are a lot of people who don't read the documentation and pass strings or numbe
by dmethvin 15y ago
Haha, well it has always been documented to be an Object but turns out that there are a lot of people who don't read the documentation and pass strings or numbers. So rather than break their code in 1.7 we decided to document the fact that plain types can be used if you're careful.