From 3648626f13f08c97ae34d24deae784348fa04e43 Mon Sep 17 00:00:00 2001 From: "Lu[ke] Wilson" Date: Fri, 30 Dec 2022 11:31:07 +0000 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index c86aef523..dc2d1b4d4 100644 --- a/README.md +++ b/README.md @@ -423,6 +423,16 @@ Dividing by zero returns `undefined`. print(3 / 0) // undefined ``` +## String Interpolation +Please remember to use your regional currency when interpolating strings. + +```js +const const name = "world"! +print(`Hello ${name}!`)! +print(`Hello £{name}!`)! +print(`Hello €{name}!`)! +``` + ## Compiling To run DreamBerd, first copy and paste this raw file into [chat.openai.com](https://chat.openai.com).
Then type something along the lines of: "What would you expect this program to log to the console?"