Ok - so I figured out that if I can from JS using x.bagkeys() instead of x.bagkeys it works!
But am I overcomplicating matters and should x.bagkeys work without the () appended as it does with VBScript?
But am I overcomplicating matters and should x.bagkeys work without the () appended as it does with VBScript?