3 ms·
I think it's worth noting this doesn't follow good JavaScript naming practices. Due to the disastrous effects of constructor functions if used without the new
by TazeTSchnitzel 15y ago
I think it's worth noting this doesn't follow good JavaScript naming practices.
Due to the disastrous effects of constructor functions if used without the new keyword, only constructor functions should have a capitalised first letter such that they can be easily distinguished.