Please read the MDN documentation to understand the function clearly.