Idiomatic here means “How people who write JavaScript write JavaScript”.
It means “Natural to the native speaker”.
For example, returning an object is considered by some idiomatic JavaScript:
function foo(){
return {x:3,y:5};
}
var point = foo();
While “out parameters” are considered less idiomatic:
function foo(out){
out.point = {x:3,y:5}
}
var out = {};
foo(out);
point = out.point;
Another example of idiomatic JavaScript is the use of closures.