unexpected strict mode reserved word — yield? Node v0.11, harmony, es6
问题 Trying to use a new ES6 based node.js ODM for Mongo (Robe http://hiddentao.github.io/robe/) Getting "unexpected strict mode reserved word" error. Am I dong something wrong here? test0.js "use strict"; // Random ES6 (works) { let a = 'I am declared inside an anonymous block'; } var Robe = require('robe'); // :( var db1 = yield Robe.connect('127.0.0.1'); Run it: C:\TestWS>node --version v0.11.10 C:\TestWS>node --harmony test0.js C:\TestWS\test0.js:12 var db1 = yield Robe.connect('127.0.0.1'); ^