progs/catastrophic/catastrophic.js
changeset 745 7dc3643a0cc5
parent 741 e66bd5c563eb
child 753 d94fdbef1a4f
--- a/progs/catastrophic/catastrophic.js	Mon Aug 17 17:42:37 2020 +0100
+++ b/progs/catastrophic/catastrophic.js	Sun Aug 23 23:44:44 2020 +0100
@@ -1,5 +1,4 @@
-
-
+#!/usr/local/bin/node
 
 // A case of catastrophic backtracking in JavaScript/Node.js
 //
@@ -8,11 +7,11 @@
 //
 // call with:
 //
-//  $> node catastrophic.js 20
+//  $> catastrophic.js 20
 //
 // call with timing as:
 //
-//  $> time node catastrophic.js 25
+//  $> time catastrophic.js 25
 
 
 const args = process.argv[2]