diff --git a/Readme.md b/Readme.md index c74413e..964262c 100644 --- a/Readme.md +++ b/Readme.md @@ -76,7 +76,7 @@ $.assert($superhero, bob) // ShapeAssertError: !(value.superpowers instanceof Ar const encoded = $superhero.encode(spiderMan) // encoded: Uint8Array -const decoded = $superhero.decode(spiderMan) +const decoded = $superhero.decode(encoded) // decoded: Superhero console.log(decoded)