Skip to content

Instantly share code, notes, and snippets.

@zuzannamj
Created September 6, 2022 09:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zuzannamj/32322f2ce0cc9d3cf6eea7a3eea9c389 to your computer and use it in GitHub Desktop.
Save zuzannamj/32322f2ce0cc9d3cf6eea7a3eea9c389 to your computer and use it in GitHub Desktop.
<script runat="server">
Platform.Load("core","1.1.1");
// set the value of a firstName variable
var firstName = "John";
</script>
<script>
var firstName = ("<ctrl:var name=firstName/>");
console.log(firstName);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment