JSFiddle - React, Tailwind, and code Playground

by f0t0n

JavaScript

'use strict';

var Symbol = 1; // try to comment this line and run the script again

var Symbol = (function(Symbol) {

    
    if(typeof Symbol != 'undefined') return Symbol;

    Symbol = function() {
        // ...
    };

    return Symbol;

})(Symbol);

alert(typeof Symbol);