-
-
Save agentcooper/fcd584d3a351c3e9728b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// your code goes here | |
</script> | |
<script> | |
var a = 3; | |
z = 5; | |
(function() { | |
var a = 3 + 5, | |
b = a / 2, | |
str = "Inter" + "polation"; | |
z = z + 1; | |
res = (a + b + z) * 3; | |
// will output 'Interpolation: (8 + 4 + 6) * 3 = 54' | |
console.log('#{str}: (#{a} + #{b} + #{z}) * 3 = #{res}'.interpolate()); | |
}).run(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment