constructor(value) {

        /**
         * The value that this node stores.
         * @property value
         * @type *
         */
        this.value = value;

        /**
         * A pointer to the left node in the BinarySearchTree.
         * @property left
         * @type ?BinarySearchTreeNode
         */
        this.left = null;

        /**
         * A pointer to the right node in the BinarySearchTree.
         * @property right
         * @type ?BinarySearchTreeNode
         */
        this.right = null;

    }
Creates a new instance of BinarySearchTreeNode.
@param {*} value The value to store in the node.