JavaScript: else
Instructions
Loading...
Your exercise will be checked with these tests:
import { expect, test } from 'vitest';
import f from './index.js';
test('test', () => {
expect(f('yandex.ru')).toBe('https://yandex.ru');
expect(f('https://yandex.ru')).toBe('https://yandex.ru');
});
Teacher's solution will be available in:
20:00
