bae705aa97
- Add NFC ePassport roadmap (ICAO 9303, eIDAS) - Add TensorFlow.js edge face detection (BlazeFace) - Add structured audit logger (GDPR-compliant) - Risk scoring support Part of KYC Apple Native UX v1.1.0
14 lines
356 B
JavaScript
14 lines
356 B
JavaScript
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();
|