I saw a method in an Action script that has a return type *
public function f(s:String):*
what does it mean [*]?
The symbol *means untyped, which means that the type can be anything (and that the value can be undefined). Using an asterisk has the same effect as not specifying a type at all, but it is a good form to use it to be explicit in relation to your intention. For more details see Link link to the language .
*
undefined
100% . "", * Object , , Object , Object. * undefined Object not. ! , , undefined, .
, , y undefined {x: null}, x , . :
var yesNoMaybe: *; yesNoMaybe = true; yesNoMaybe = false; yesNoMaybe = undefined;
Source: https://habr.com/ru/post/1730749/More articles:An effective way to remove specified characters from a string is cHow VIM moves across multiple trees under a huge source tree - vimOnClick event in WinForms DataGridView - c #Summarize a list of text fields in jQuery - javascriptGoogle Contacts Address Book Scheme - How to get from 1 to many data fields? - databaseUse struct as a base for a derived class in C ++ - c ++to draw Hebrew text on an image using the image module (python) - pythonoriginal pagination script - javascriptDuplicateHandle, зачем дублировать, а не просто приобретать? - processList Order - c #All Articles