index.js 109 Bytes Raw Blame History Permalink 1 2 3 4 5 var a = require('./a.json'); var b = require('./b.json'); console.log('a=' + a.x); console.log('b=' + b.x);