JavaScript: Negation
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
// @ts-check
import { expect, test } from 'vitest';
import f from './index.js';
test('test', () => {
expect(f('wow')).toBe(false);
expect(f('hexlet')).toBe(true);
expect(f('asdffdsa')).toBe(false);
expect(f('Wow')).toBe(false);
});
Teacher's solution will be available in:
20:00
