Hmmm..wondering if it was not zz plant. I've never seen a zzplant without leaves. What did it's main stems look like, any coloration or striping? ZZ Plants hate being over-watered. How often were you watering it. If you were watering every week, and had it indoors, that was way to much. Also, best to use a cactus soil, instead of regular potting soil for a ZZPlant.
Alan