JavaScript: For loop
Instructions
Loading...
Your exercise will be checked with these tests:
import { expect, test } from 'vitest';
import f from './index.js';
test('test', () => {
expect(f('attack')).toEqual('taatkc');
expect(f('go!')).toEqual('og!');
expect(f('back!')).toEqual('abkc!');
});
Teacher's solution will be available in:
20:00
