Added a JavaScript built-in in the test snippet.