search

goog.testing.ObjectPropertyString

Provided By
warning Deprecated

Use goog.reflect.objectProperty instead.

Object to pass a property name as a string literal and its containing object when the JSCompiler is rewriting these names. This should only be used in test code.

new ObjectPropertyString( object, propertyString )

Parameters
object(Object|null)

The containing object.

propertyString(Object|string|null)

Property name as a string literal.

Instance Methods