developertools-tech / developertools-tech/developertools.tech

[Req]: JavaScript Playground Tool

Open
#27 4 comments 0 reactions 1 assignee Claimed by @ankitrout2903 View on GitHub
feature request hacktoberfest in progress
Dominant language
TypeScript
Stars
41
Forks
44
PR merge metrics
No merged PRs in 30d

Description

### Contact Details

_No response_

### Explain the proposed feature

A tool for writing JavaScript functions and showing the output.

### Explain the possible use cases for the feature

It's sometimes easier to write a function in it's own context, this would provide an easy to access sandbox for testing and developing functions in their own context.

### Any other details you would like to provide?

This tool at minimum should:
- Evaluate and execute JavaScript code from an input field
- Display the output of the code
- Catch and display errors
- Catch infinite loops and display an error

Possible but not required improvements:
- Use the Editor component from the `codemirror-poc` branch of this project
- Have an option for REPL style (run on input change) or run on demand style (with a button) processing
- Show a menu for adding dependencies via unpkg or similar services

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.