Languages/JavaScript/Templates/JavaScript-Template-HelloWorld.ps.ps1

Template function HelloWorld.js {
    <#
    .SYNOPSIS
        Hello World in JavaScript
    .DESCRIPTION
        A Template for Hello World, in JavaScript.
    #>

    param(
    # The message to print. By default, "hello world".
    [vbn()]
    [string]
    $Message = "hello world"
    )
    process {
@"
console.log("$message")
"@

    }
}