Javascript String Constructor Property

The constructor property of string object returns a reference to the String function that created the object. Use it for example to get reference of string object.

Syntax

Javascript String Constructor Property Example

This will produce following result