mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
16 lines
320 B
JavaScript
16 lines
320 B
JavaScript
function t1() {
|
|
const { ...rest } = source('t1.1');
|
|
rest; // $ getALocalSource=rest
|
|
}
|
|
|
|
function t2() {
|
|
const [ ...rest ] = source('t2.1');
|
|
rest; // $ getALocalSource=rest
|
|
}
|
|
|
|
function t3() {
|
|
const { p1, ...rest } = source('t3.1');
|
|
p1; // $ getALocalSource=p1
|
|
rest; // $ getALocalSource=rest
|
|
}
|