aboutsummaryrefslogtreecommitdiff
path: root/test/compress/drop-console.js
blob: 9a91edcb45311823f3a77a828cb60db0bcd7b689 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
drop_console_1: {
    options = {}
    input: {
        console.log('foo');
        console.log.apply(console, arguments);
    }
    expect: {
        console.log('foo');
        console.log.apply(console, arguments);
    }
}

drop_console_2: {
    options = {
        drop_console: true,
    }
    input: {
        console.log('foo');
        console.log.apply(console, arguments);
    }
    expect: {
        // with regular compression these will be stripped out as well
        void 0;
        void 0;
    }
}
n>Zheng Junjie 2023-05-24gnu: lolcat: Update to 1.4....* gnu/packages/toys.scm (lolcat): Update to 1.4. [version]: Switch to release tag. [arguments]: Use G-expressions. Remove trailing #t. <#:phases>: Replace assoc-ref with #$output. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> kiasoc5 2022-08-28gnu: Add fortunes-jkirchartz....* gnu/packages/toys.scm (fortunes-jkirchartz): New variable. Liliana Marie Prikler 2022-08-28gnu: Add daikichi....* gnu/packages/toys.scm (daikichi): New variable. Liliana Marie Prikler