前端打印console.log 字符画

console.log 字符画

patorjk.com/software/taag/#p=displ...
从网站中生成 并复制到下面的代码中替换字符
Laravel

function makeMulti (string) {
let l = new String(string)
l = l.substring(l.indexOf("/*") + 3, l.lastIndexOf("*/"))
return l
}

 let string = function () {
        /*      __                    __                     _
  /\ \ \  ___ __      __  / /    __ _  _ __    __| |
 /  \/ / / _ \\ \ /\ / / / /    / _` || '_ \  / _` |
/ /\  / |  __/ \ V  V / / /___ | (_| || | | || (_| |
\_\ \/   \___|  \_/\_/  \____/  \__,_||_| |_| \__,_|






                                                     */
    }
    console.log(makeMulti(string));

    console.log("%c看我的console,想请我吃饭?","color:blue;font-weight:bold;");

    console.log("%c嘉偉出品,必属精品", "color:red;font-weight:bold;");
本作品采用《CC 协议》,转载必须注明作者和本文链接
chowjiawei
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
讨论数量: 4

这个网站不错,可以可以

1个月前 评论
猪猪

我已经用起来了,感谢大佬

file

1个月前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!