Yes, these methods are available in both browsers and Node.js, making them functional for different JavaScript environments.