All Tracks/lab reverse a string/
Đang tải...
Hướng dẫn thử thách
1 / 1

Build a String Inverter

In this lab, you will build a simple string inverter that reverses the characters of a given string. For example, `"hello"` should become `"olleh"`. **Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab. **User Stories:** 1. You should create a function named `reverseString` that takes a string as an argument. 2. The function should return the reversed string.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.