How to set the Node's anchor point to the center of it in Lua?

I don’t know how to set the Node’s anchor point to the center of it in Lua.