// [+[]]+[]
// [+!+[]]+[]
// [!+[]+!+[]]+[]
// [!+[]+!+[]+!+[]]+[]
// [!+[]+!+[]+!+[]+!+[]]+[]
// [!+[]+!+[]+!+[]+!+[]+!+[]]+[]
// [!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[]
// [!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[]
// [!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[]
// [!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+[]
var A = ["[+[]]+[]", "[+!+[]]+[]"];
let N = 10;
let s = "!+[]+!+[]";
const t = "+!+[]";
for(let i = 0; i < N; i++){
    A.push(`[${s}]+[]`)
    s += t
}
for(let x of A){
    console.log(eval(x))
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: