mirror of
https://github.com/musix-org/musix-oss
synced 2026-10-16 17:24:15 +00:00
Updated
This commit is contained in:
1 parent
6f6ac8a6fa
commit
50b9bed483
9432 files changed
+1988816
-167
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
var codegen = require("..");
|
||||
|
||||
// new require("benchmark").Suite().add("add", function() {
|
||||
|
||||
var add = codegen(["a", "b"], "add")
|
||||
("// awesome comment")
|
||||
("return a + b - c + %d", 1)
|
||||
({ c: 1 });
|
||||
|
||||
if (add(1, 2) !== 3)
|
||||
throw Error("failed");
|
||||
|
||||
// }).on("cycle", function(event) { process.stdout.write(String(event.target) + "\n"); }).run();
|
||||
Reference in new issue
Block a user