Void

The void is actually nothing. It can be used as the return type of a function to declare that this function will not return any value:

function alertMessage(): void { 
alert("This function does not return any value");
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset