#!/usr/bin/env node
var unusedString = "unused string";
var l = console.log;
// var buffertools = require('buffertools');
var fs = require('fs');
fs.readFile(__filename, function(err, data) {
var x = data.indexOf('unused');
});
Notice that it crashes
You may make it not crash by editing to use buffertools.indexOf.
Here is a minimal example node script.
Notice that it crashes
You may make it not crash by editing to use
buffertools.indexOf
.