使用nodeunit測試JavaScript庫-FileApi,substr未定義 [英]Testing JavaScript libraries with nodeunit - FileApi, substr undefined