As in
var query = new Jedlik()
.tablename('TABLENAME')
.hashkey('id', 'HASHKEY-VALUE')
.rangekey('range', 'RANGEKEY-VALUE')
// HERE!
.attributes(['id', 'range', 'value-index'])
.query();
Check if it should have at least one item.
Is it feasible to just create an empty AttributesToGet object if not attributes is passed without failing? (like SELECT * in SQL)