我是搞PHP的,让我想起了
Function.prototype.heredoc = function(){
// 利用 function 的注释来存储字符串,而且无需转义。
var _str = this.toString(),
s_pos = _str.indexOf("/*")+2,
e_pos = _str.lastIndexOf("*/");
return (s_pos}
function fn(){
/*
| 用户名 | 密码 |
| @name | zf123456 |
}
var str_table = fn.heredoc();
console.log(str_table);











