/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/cpu_prof/source_map/main.ts
9 строк
342 B
Bartek Iwańczuk
fix(runtime): apply source maps to CPU profiler output (#32634)
15 мар 2026, 18:27
Не верифицирован
15 мар 2026, 18:27
24bc84e
Код
Авторство
О чём код?
// TypeScript file to test that CPU profiler applies source maps // and reports original .ts line numbers instead of transpiled .js positions. function fibonacci(n: number): number { if (n <= 1) return n; return fibonacci(n - 1) + fibonacci(n - 2); } const result: number = fibonacci(30); console.log("Computed fibonacci(30):", result);