const fromArray = array => createObservable((push, end) => {
  array.forEach(value => { push(value); });
  end();
});

const fromArray = array => createObservable((push, end) => {
  if (array == null) {
    array = [];
  }
  array.forEach(value => { push(value); });
  end();
});

Allow observable creation with no argument
Allow observable creation with no argument
