在线Javascript代码评估工具 [英] online Javascript code evaluation tools

查看:113
本文介绍了在线Javascript代码评估工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



您可以在工具箱中找到最喜爱的网站或自行开发的页面,以帮助您开发Javascript?




  • 验证

  • 运行

  • 调试,检查

  • 单元测试



寻找某处粘贴我的JS,点击一个运行按钮,并让它评估语句。这可能是用于操纵数字,字符串,自定义对象等的简单代码片段。



ANSWER (因为在问题被关闭之前没有回答实际上满足要求:




  • turb0js - 让您逐步浏览代码,而无需打开浏览器的控制台并寻找正确的JavaScript文件。还允许将HTML描述添加到代码段,以及其他用户的评论。DOM和控制台方法

  • jsbin与 // noprotect ,以便在浏览器控制台中启用调试



非答案:Codepen(由于自动运行编辑创建新脚本而无法调试); JSFiddle(不直接支持浏览器控制台)

解决方案div>

查看 JsBin 它是一个很好的在线工具,用于协作JavaScript调试...



您可以轻松地整合最流行的JavaScript库,甚至可以将其用于Ajax请求调试...



检查介绍性视频 ...


Do you have a favorite site or homegrown page in your toolbox to help you during development of your Javascript?

Something to help you:

  • validate
  • run
  • debug, inspect
  • unit test

Looking for somewhere to paste my JS into, click a Run button, and have it evaluate the statements. This might be for simple snippets for manipulation of numbers, strings, custom objects, etc.

ANSWER (since no answers before the question was closed actually address the requirements:

  • turb0js - lets you step through the code without having to open the browser's console and hunt for the right JavaScript file. Also allows adding an HTML description to the code snippet, and comments from other users. DOM and Console methods don't work.
  • jsbin with // noprotect at the beginning of the code, to enable debugging in the browser console

Non-answers: Codepen (can't debug due to its autorun on edit creating a new script); JSFiddle (no direct support for the browser console)

解决方案

Give a look to JsBin it's a great online tool for collaborative JavaScript debugging...

You can easily incorporate the most popular JavaScript libraries, and you can even use it for Ajax Request Debugging...

Check the introductory videos...

这篇关于在线Javascript代码评估工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆