厳密な名前でアセンブルに署名するテスト。
これもC#と同様でわけない。

D:\tmp>sn -k hello.snk

Microsoft(R) .NET Framework Strong Name Utility バージョン 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

キー ペア が 'hello.snk' に書き込まれました。

D:\tmp>copy con hello.js
import System.Reflection;
[assembly: AssemblyKeyFile("hello.snk")]
print("Hello, world");
^Z
1 個のファイルをコピーしました。

D:\tmp>jsc /nologo hello.js

D:\tmp>sn -v hello.exe

Microsoft(R) .NET Framework Strong Name Utility バージョン 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.

アセンブリ 'hello.exe' は有効です。

D:\tmp>