Explain The Function In Javascript