Hi. I need to know how to call a function within a function.

Code JavaScript:
function parent() {
function child() {
//code here
}
}
 
//how do i call child from outside of parent?