1.8 KiB
1.8 KiB
id, challengeType, forumTopicId, title
id | challengeType | forumTopicId | title |
---|---|---|---|
587d7fb0367417b2b2512bed | 2 | 301515 | 认识 Node 的控制台 |
Description
Instructions
如果还没准备好,请阅读介绍里面的指引,在 Glitch 里通过这个链接创建一个新项目。
修改 myApp.js
文件,在控制台打印出经典的 "Hello World" 即可。
Tests
tests:
- text: "控制台应该输出:<code>'Hello World'</code>"
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/hello-console'').then(data => { assert.isTrue(data.passed, ''"Hello World" is not in the server console''); }, xhr => { throw new Error(xhr.responseText); })'
Challenge Seed
Solution
/**
Backend challenges don't need solutions,
because they would need to be tested against a full working project.
Please check our contributing guidelines to learn more.
*/