Can any one tell me Zoom in and Zoom Out functionality in java Script

Can any one tell me object Zoom in and Zoom Out functionality in Java Script.

There is no such thing as object zoom in or out. You can move the object closer to the camera by adjusting its Transform.position. Or you can make it bigger by adjusting its scale. Or you can move the Transform.position of the camera or adjust its field of view, which creates an effect somewhat like zooming.