Groovy web console

subscribe to the feed Subscribe
to this
site

Groovy pop() is broken

Published 4 weeks ago by S with tags groovy broken list pop
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
class Example {     
    static void main(String[] args) {        
        def lst = [11, 12, 13, 14];         
        println(lst.pop());        
        println(lst);     
    }  
}