JavaScript function is also a constructor?

added by DotNetKicks
5/24/2021 4:55:33 PM

493 Views

JavaScript function is also a "constructor." You must have heard it many times, haven't you? Well, that is a wrong way of interpreting the JavaScript function; even though you can create an object using a function, it does not mean you can call it a constructor.


0 comments