Since the params list is read at initialization time, this will populate the _global scope with the variables values. For some reason the self.evaluate(it.arguments.name) does not resolve them correctly, and does not use the current shell binding, so will result in always going with the defaultValue, which is not what we set as a parameter.
Since the params list is read at initialization time, this will populate the
_global
scope with the variables values. For some reason theself.evaluate(it.arguments.name)
does not resolve them correctly, and does not use the current shell binding, so will result in always going with thedefaultValue
, which is not what we set as a parameter.