-
Code >>+++<<++[->>[-<+>>+>+<<]<[->>[-<+>]>[-<+>>+<]>[-<+>]<<<<]>>[->-<]<<<]+++ +++[->>+++<<]>>+.
Preloaded Code function returnhundred() { }
Test Cases describe("Sample Test Suite", function () { it("", function () { Test.assertEquals(runBF("").charCodeAt(0), 100); }); });
Output:
-
Code function returnhundred() {return 10 ** 2;}- >>+++<<++[->>[-<+>>+>+<<]<[->>[-<+>]>[-<+>>+<]>[-<+>]<<<<]>>[->-<]<<<]+++ +++[->>+++<<]>>+.
Test Cases // TODO: Add your tests here// Starting from Node 10.x, [Mocha](https://mochajs.org) is used instead of our custom test framework.// [Codewars' assertion methods](https://github.com/Codewars/codewars.com/wiki/Codewars-JavaScript-Test-Framework)// are still available for now.//// For new tests, using [Chai](https://chaijs.com/) is recommended.// You can use it by requiring:// const assert = require("chai").assert;// If the failure output for deep equality is truncated, `chai.config.truncateThreshold` can be adjusted.Test.assertEquals(returnhundred(),100)- describe("Sample Test Suite", function () {
- it("", function () {
- Test.assertEquals(runBF("").charCodeAt(0), 100);
- });
- });
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
Please sign in or sign up to leave a comment.