Created
          April 21, 2023 12:30 
        
      - 
      
- 
        Save b8x/ce0418b95e03db14ebd97b2bea9c4cff to your computer and use it in GitHub Desktop. 
    Base 64 Encoder in Javascript
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const message = "Hello, World!"; | |
| const encodedMessage = btoa(message); | |
| console.log(encodedMessage); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment