the DSL example is equivalent to the JavaScript one

just add the missing Result