Workshop › Text detective › Step 12 of 13
Last line of the report: the text in Caesar code, updated as you type.
```js
'\nSecret: ' + caesar(text, 3)
```caesar(text, 3) encodes the trimmed text with a shift of 3; the result is added to the report.Add the Secret part to the end of the report.
Skills: Functions
← Encode a whole text Build it yourself: crack the code →