In Minecraft PE, the hammer will do 12 damage on hit, plus additional damage from the lightning strike. However, the realization of the coming back mechanic is weird because it creates a second copy of the hammer. One will still be in your hands, and the copy will lie on the ground.
Credits: Keyyard
Don't forget to activate Experimental gameplay features in the world's Settings.