JSFiddle - React, Tailwind, and code Playground

JavaScript

$(function(){
    if($.browser.mozilla){
        var a=1, b=2, typer = function(){ return [3,4]; };
        [a, b] = typer();
        alert( a + b );
    }else{
        alert('this code works only in ff')                
    }
});