{"image_url":null,"description":"mocha\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u3066\u3001 describe('Array', function(){ describe('#indexOf()', function(){ it('should return -1 when the value is not present', function(){ [1,2,3].indexOf(5).should.equal(-1); [1,2,3].indexOf(0).should.equal(-1); }) }) }) \u306e\u3088\u3046\u306a\u30c6\u30b9\u30c8\u3092\u7528\u610f\u3057\u3066\u307f\u305f\u3089\u3001nodelint\u306b\u6012\u3089\u308c\u308b\u3002 $ nodelint sample.js The \"sys\" module \u2026","blog_url":"https://memo.sugyan.com/","width":"100%","url":"https://memo.sugyan.com/entry/20111214/1323826258","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo.sugyan.com%2Fentry%2F20111214%2F1323826258\" title=\"mocha\u3068nodelint - \u3059\u304e\u3083\u30fc\u3093\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/sugyan/","provider_url":"https://hatena.blog","published":"2011-12-14 10:30:58","version":"1.0","type":"rich","blog_title":"\u3059\u304e\u3083\u30fc\u3093\u30e1\u30e2","categories":["Node.js"],"height":"190","author_name":"sugyan","title":"mocha\u3068nodelint"}