Playwright + JS ·
1. Variables (const/let) & Arrow Functions
Prev
Next
Statement
Submissions
Solution
AI Help
1. Variables (const/let) & Arrow Functions
Listen
ES6 Syntax in Test Automation
const getTestUrl = (path) => { return
https://targetqa.com${path}
; };
Task
Complete `getTestUrl` to return `https://targetqa.com${path}`.
💡
Common doubts
Why avoid 'var' in modern JavaScript?
Did you like the problem?
Lesson 1 of 4
JavaScript
Reset
Copy
Loading code editor…
Submit
Next