Does An Electric Cordless Lawn Mower Work As Well As A Gas Powered One?

I am needing a new lawn mower and with the price of gas, I was wondering if the electric ones are any good. I can’t imagine having a cord attached, so I would want a rechargable one.