Variant is varying C++ class that clones javascript behaviour as much as possible