Pattern Question In Javascript The Xy