progs/catastrophic/catastrophic.js
changeset 745 905b60a029bf
parent 741 6512884e03b4
child 753 30ea6b01db46
--- 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]