Child Function In Javascript Example