I've been using ChatGPT's JS sandbox to generate boilerplate code that I really don't want to write myself. The results vary based on the task but the useable code has been pretty flawless. And it's free to boot.