【发布时间】:2019-02-25 18:33:58
【问题描述】:
Here i want to print line which contains following strings:
Object.< anonymous >
这是多行:现在找到那些包含子字符串 Object 的行。
Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'yourusername'@'localhost' (using password: YES)
at Socket.< anonymous > (/home/abc/Desktop/AJ/CustomLogger/node_modules/mysql/lib/Connection.js:91:28)
at Object.< anonymous > (/home/abc/Desktop/AJ/CustomLogger/conn.js:10:5)
at Module._compile (internal/modules/cjs/loader.js:686:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
输出应该是: 在 Object. (/home/abc/Desktop/AJ/CustomLogger/conn.js:10:5)
【问题讨论】:
标签: javascript arrays node.js string npm