JavaScript: undefined
Instructions
Loading...
Your exercise will be checked with these tests:
// @ts-check
import { expect, test, vi } from 'vitest'
test('hello world', async () => {
const consoleLogSpy = vi.spyOn(console, 'log').mockImplementation(() => { });
await import('./index.js')
const firstArg = consoleLogSpy.mock.calls[0]?.[0];
expect(firstArg).toBe(undefined)
})
Teacher's solution will be available in:
20:00
