Returns a binary tree node composed of the specified left subtree, value and right subtree.
Value to be stored in the node
Left subtree of the node
Right subtree of the node
A binary tree
const tree = make_tree(1, make_empty_tree(), make_empty_tree());display(tree); // Shows "[1, [null, [null, null]]]" in the REPL Copy
const tree = make_tree(1, make_empty_tree(), make_empty_tree());display(tree); // Shows "[1, [null, [null, null]]]" in the REPL
Returns a binary tree node composed of the specified left subtree, value and right subtree.