{"size": 293, "ext": "js", "max_stars_repo_path": "chapter-06/conditional/src/defaultIfEmpty/empty.js", "max_stars_repo_name": "algobot76/dissecting-rxjs", "max_stars_repo_stars_event_min_datetime": "2018-01-09T02:20:51.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-29T02:20:16.000Z", "max_issues_repo_path": "chapter-06/conditional/src/defaultIfEmpty/empty.js", "max_issues_repo_name": "algobot76/dissecting-rxjs", "max_issues_repo_issues_event_min_datetime": "2018-05-16T15:06:13.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-16T01:53:45.000Z", "max_forks_repo_path": "chapter-06/conditional/src/defaultIfEmpty/empty.js", "max_forks_repo_name": "algobot76/dissecting-rxjs", "max_forks_repo_forks_event_min_datetime": "2018-05-11T07:59:46.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-03T15:36:43.000Z"}
{"max_stars_count": 358, "max_issues_count": 16, "max_forks_count": 104, "avg_line_length": 19.5333333333, "max_line_length": 55, "alphanum_fraction": 0.7098976109}
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/observable/empty';
import 'rxjs/add/operator/defaultIfEmpty';

const source$ = Observable.empty();
const new$ = source$.defaultIfEmpty('this is default');

new$.subscribe(
  console.log,
  null,
  () => console.log('complete')
);


