mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
Co-authored-by: Gabriela Araujo Britto <[email protected]> Co-authored-by: Isabel Duan <[email protected]>
25 lines
578 B
JSON
25 lines
578 B
JSON
// === documentHighlights ===
|
|
// === /getOccurrencesOfAnonymousFunction2.ts ===
|
|
// //global foo definition
|
|
// function foo() {}
|
|
//
|
|
// (function [|f/*HIGHLIGHTS*/oo|](): number {
|
|
// return [|foo|](); // local foo reference
|
|
// })
|
|
// //global foo references
|
|
// foo();
|
|
// var f = foo;
|
|
|
|
|
|
|
|
// === documentHighlights ===
|
|
// === /getOccurrencesOfAnonymousFunction2.ts ===
|
|
// //global foo definition
|
|
// function [|foo|]() {}
|
|
//
|
|
// (function foo(): number {
|
|
// return foo(); // local foo reference
|
|
// })
|
|
// //global foo references
|
|
// [|fo/*HIGHLIGHTS*/o|]();
|
|
// var f = [|foo|]; |