All the examples show how to use Selenium Java webdriver with Jmeter.
Can I use Selenium Javascript webdriver with Jmeter?
All the examples show how to use Selenium Java webdriver with Jmeter.
Can I use Selenium Javascript webdriver with Jmeter?
JavaScript is default language of the WebDriver Sampler
so the answer is yes, you can use JavaScript language for Selenium tests with the WebDriver Sampler.
Check out The WebDriver Sampler: Your Top 10 Questions Answered guide for some code snippets, howtos, tips and tricks