# Code coverage report for RxJS/dist/cjs/util/Symbol_observable.js

## Statements: 80% (8 / 10) Branches: 50% (3 / 6) Functions: 100% (0 / 0) Lines: 80% (8 / 10) Ignored: none

All files » RxJS/dist/cjs/util/ » Symbol_observable.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18

    1

    1

    1

    1
    1
    1

    1
    1'use strict';

    exports.__esModule = true;

    var _root = require('./root');

    Iif (!_root.root.Symbol) {
        _root.root.Symbol = {};
    }
    Eif (!_root.root.Symbol.observable) {
        Eif (typeof _root.root.Symbol['for'] === 'function') {
            _root.root.Symbol.observable = _root.root.Symbol['for']('observable');
        } else {
            _root.root.Symbol.observable = '@@observable';
        }
    }
    exports['default'] = _root.root.Symbol.observable;
    module.exports = exports['default'];