Opening your workspace…
Workspace/Coding room
Opening your workspace…
Dot seals each end of a message with a blob of wax. By breakfast the blobs have hardened into little ears. Pinch off exactly one character at each end of letter and return everything between them, spaces and all. Dot sometimes sends two blobs with nothing between them. That means she has nothing to report.
"*bring jam!"OUTPUT"bring jam"The star and the exclamation mark come away with the wax.
"()"OUTPUT""Two seals make rather a heavy envelope for an empty letter.
Where does the message start, and which character belongs to the far seal?
/** @param {string} letter * @returns {string} */ function solve(letter) { // Write your answer here. }
Tab inserts two spaces. Shift+Tab outdents. Use the arrow keys and Tab to choose a suggestion. Press Escape, then Tab, to leave the editor. Press Control or Command with apostrophe to run samples or with Enter to submit.
"*bring jam!""bring jam"