Home › Forums › JavaScript › Working on a B-tree form. › Reply To: Working on a B-tree form.
September 19, 2014 at 2:18 pm
#183644
nixnerd
Participant
Encapsulation. It creates a local scope.
Gotcha… but I’m wondering if the reason you did this is because the validation logic will be encapsulated in its own function? That way we don’t have any pollution between the two? Or would you put the validation logic in this function?