Skip to content

TypeScript code snippet – How to take multiple inputs in one propmt?

const inputs = prompt("Enter your inputs separated by a tilde ~").split("~");

See also  Python code snippet - How to use order in alphabet ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.