When looking up in an arcgis-js-api viewer stars are visible during the daytime, you can look up in any viewer holding down "b" and panning up.
This is still happening in the 4.19 release.