foregroundColor's are Undefined!

When I run this command require('photoshop').app.foregroundColor the object returns RGB colors that are undefined, even though other color formats such as HSB, CMYK values exist?

What is the problem?

It’s a known bug and seems like in review since November. Maybe it’s already in a beta version, would need to test