She was able to understand that God said one thing, and Satan another. No rocket science necessary to retort that Satan’s basic premise was faulty. And being innocent isn’t tantamount to her being a dolt, either, or lacking the ability to ferreting out Satan’s faulty premise.
How old are you? And could you have figured this out as a young teen?