# Javascript (*ES6*) 115

<!-- begin snippet: js hide: false -->

<!-- language: lang-js -->

    f=l=>[['O |/\\-'[y^x?z+~x^y?y^l?x^l?1:2:5:3:x^l&&4]for(x in _)].join('')for(y in _='_'.repeat(z=2*l+1))].join('\n')


    // Snippet demo: (Firefox only)
    for(var X of [0,1,2,3,4,5])
        document.write('<pre>' + f(X) + '</pre><br />');

<!-- end snippet -->