Skip to content

Commit d00a50a

Browse files
committed
Examples for 1.4
1 parent 0f5ed6d commit d00a50a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

1.4/bad-syntax.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('Not ok!';

1.4/repl.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const repl = require('repl');
2+
3+
let r = repl.start({
4+
ignoreUndefined: true,
5+
replMode: repl.REPL_MODE_STRICT
6+
});
7+
8+
r.context.lodash = require('lodash');

0 commit comments

Comments
 (0)