fix missing param in section 'avoid side effects part 1' in 'good example'

This commit is contained in:
Benjamin Jesuiter 2019-02-05 10:33:23 +01:00 committed by Dumitru
parent e63678480c
commit 283073a227

View file

@ -649,7 +649,7 @@ function toBase64(text:string):string {
return btoa(text);
}
const encodedName = toBase64();
const encodedName = toBase64(name);
console.log(name);
```