Exploring the nuances of angular2 services: what distinguishes a private static function from a public static function in typescript?
public static getUserStockList(): Stock[] {
/* TODO: implement http call */
return WATCHLIST;
}
vs.
private static getUserStockList(): Stock[] {
/* TODO: implement http call */
return WATCHLIST;
}
QUERY:
Under what circumstances would opting for a private static function be more suitable than a private function?