Skip to content

Commit

Permalink
Small example added.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrrom committed Sep 13, 2023
1 parent b324fd8 commit daef254
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/source/Console.mint
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ module Console {
/*
Outputs a message to the Web Console. Supports string substitution.
Console.log("Hello ", ["World", "!"]) => "Hello World!"
[log()](https://developer.mozilla.org/en-US/docs/Web/API/console/log)
*/
fun log (value : a, values : Array(b) = []) : Tuple(a, Array(b)) {
Expand Down

0 comments on commit daef254

Please sign in to comment.