function one(){} function two(){} class Test1 { one(){ one::two(1, 2) } two(){ one::two(1, 2) } }