{"id":2347,"date":"2024-11-10T17:50:25","date_gmt":"2024-11-10T09:50:25","guid":{"rendered":"https:\/\/fwq.ai\/blog\/2347\/"},"modified":"2024-11-10T17:50:25","modified_gmt":"2024-11-10T09:50:25","slug":"claude-ai-now-runs-javascript-python-beats-javascript-on-github-new-nodejs-versions-and-more","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/2347\/","title":{"rendered":"Claude AI now runs JavaScript, Python beats JavaScript on GitHub, new Nodejs versions and more"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173071872432396.jpg\" class=\"aligncenter\" title=\"Claude AI now runs JavaScript, Python beats JavaScript on GitHub, new Nodejs versions and more\u63d2\u56fe\" alt=\"Claude AI now runs JavaScript, Python beats JavaScript on GitHub, new Nodejs versions and more\u63d2\u56fe\" \/><\/p>\n<p>\u6b22\u8fce\u6765\u5230\u65b0\u4e00\u671f\u7684\u201cJavaScript \u672c\u5468\u201d\uff01<\/p>\n<p>\u4eca\u5929\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd JavaScript \u5728\u7f16\u7a0b\u9886\u57df\u7684\u5730\u4f4d\u8f6c\u53d8\u3001Claude AI \u548c Node.js \u7684\u7a81\u7834\u6027\u66f4\u65b0\uff0c\u4ee5\u53ca\u5907\u53d7\u4e89\u8bae\u7684 JS0\/JSSugar \u63d0\u6848\uff0c\u4ee5\u53ca\u60a8\u4e0d\u5bb9\u9519\u8fc7\u7684\u4ee4\u4eba\u5174\u594b\u7684\u65b0\u5de5\u5177\uff01<\/p>\n<h2> Python \u51fb\u8d25 JavaScript <\/h2>\n<p><strong>Python<\/strong> \u5341\u5e74\u6765\u9996\u6b21\u51fb\u8d25 <strong>JavaScript<\/strong> \u6210\u4e3a <strong>GitHub<\/strong> \u4e0a\u6700\u53d7\u6b22\u8fce\u7684\u8bed\u8a00\uff01 <\/p>\n<p><strong>\u4e3a\u4ec0\u4e48\u8981\u8f6c\u53d8\uff1f<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p><strong>\u4eba\u5de5\u667a\u80fd\u9879\u76ee\u7684\u5d1b\u8d77\uff1a<\/strong>\u5f97\u76ca\u4e8e\u673a\u5668\u5b66\u4e60\u548c\u6570\u636e\u79d1\u5b66\u5de5\u5177\uff08\u5982 Jupyter Notebook\uff09\uff0cPython \u7684\u53d7\u6b22\u8fce\u7a0b\u5ea6\u98d9\u5347\u3002<\/p>\n<p><strong>JavaScript \u4fdd\u6301\u5f3a\u52bf\uff1a<\/strong>JavaScript \u4ecd\u7136\u4e3b\u5bfc\u7740\u4ee3\u7801\u63a8\u9001\uff0cTypeScript \u7684\u91c7\u7528\u6b63\u5728\u84ec\u52c3\u53d1\u5c55\uff0c\u589e\u5f3a\u4e86\u751f\u6001\u7cfb\u7edf\u3002<\/p>\n<p><strong>\u6ca1\u6709 JavaScript \u8870\u9000\uff1a<\/strong>\u8fd9\u66f4\u50cf\u662f\u4e00\u79cd\u6f14\u53d8\uff0c\u5f00\u53d1\u4eba\u5458\u5229\u7528 TypeScript \u7684\u4f18\u52bf\u6765\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n<h2> Claude AI \u73b0\u5728\u8fd0\u884c JavaScript <\/h2>\n<p>\u4eba\u5de5\u667a\u80fd\u5de5\u5177\u7684\u6fc0\u52a8\u4eba\u5fc3\u7684\u53d1\u5c55\u6765\u81ea<strong>Anthropic \u7684 Claude AI<\/strong>\uff01<\/p>\n<p><strong>\u65b0\u5206\u6790\u5de5\u5177\uff1a<\/strong>Claude \u73b0\u5728\u53ef\u4ee5\u5728\u6c99\u76d2\u73af\u5883\u4e2d\u7f16\u5199\u548c\u6267\u884c JavaScript<\/p>\n<p><strong>\u5b9e\u65f6\u5904\u7406\uff1a<\/strong>\u5b9e\u73b0\u590d\u6742\u7684\u6570\u636e\u5206\u6790\u548c\u5904\u7406\u80fd\u529b<\/p>\n<h2> Node.js \u53cc\u91cd\u53d1\u5e03\uff1a\u7a33\u5b9a\u6027\u4e0e\u901f\u5ea6\u7684\u7ed3\u5408 <\/h2>\n<p><strong>Node.js<\/strong>\u521a\u521a\u53d1\u5e03\u4e86<strong>\u4e24\u4e2a\u4ee4\u4eba\u5174\u594b\u7684\u7248\u672c<\/strong>\uff01\u8ba9\u6211\u4eec\u6765\u5206\u89e3\u4e00\u4e0b\uff1a<\/p>\n<p><strong>Node.js v22.11.0\uff08LTS &#8211; Jod\uff09<\/strong><\/p>\n<p><strong>\u957f\u671f\u652f\u6301\uff1a<\/strong> \u4fdd\u8bc1\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027\u76f4\u81f3  \u5e74\uff0c\u7ef4\u62a4\u76f4\u81f3 2027 \u5e74\u3002<\/p>\n<p><strong>\u751f\u4ea7\u5c31\u7eea\uff1a<\/strong>\u975e\u5e38\u9002\u5408\u7ba1\u7406\u7a33\u5b9a\u3001\u5bff\u547d\u957f\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\u5173\u6ce8\u53ef\u9760\u6027\uff1a<\/strong>\u65e8\u5728\u8ba9\u5f00\u53d1\u4eba\u5458\u5728\u5173\u952e\u4efb\u52a1\u73af\u5883\u4e2d\u5b89\u5fc3\u3002<\/p>\n<p><strong>Node.js v23.1.0\uff08\u5f53\u524d\uff09<\/strong><\/p>\n<p><strong>JSON \u6a21\u5757\u53d8\u5f97\u7a33\u5b9a\uff1a<\/strong> \u8f7b\u677e\u5904\u7406\u7ed3\u6784\u5316\u6570\u636e\uff0c\u51cf\u5c11\u9ebb\u70e6\u3002<\/p>\n<p><strong>\u5bfc\u5165\u5c5e\u6027\uff1a<\/strong>\u66f4\u591a\u5730\u63a7\u5236\u6a21\u5757\u7684\u52a0\u8f7d\u65b9\u5f0f\uff0c\u4f7f\u590d\u6742\u7684\u914d\u7f6e\u53d8\u5f97\u66f4\u7b80\u5355\u3002<\/p>\n<p><strong>MockTimers API\uff1a<\/strong>\u901a\u8fc7\u6a21\u62dfsetTimeout\u7b49\u5b9a\u65f6\u5668\u6765\u7b80\u5316\u6d4b\u8bd5\uff0c\u4f7f\u6d4b\u8bd5\u66f4\u52a0\u9ad8\u6548\u3002<\/p>\n<h2> JavaScript \u5206\u88c2\uff1aJS0 \u548c JSSugar <\/h2>\n<p>\u8fd8\u8bb0\u5f97\u5c06 <strong>JavaScript<\/strong> \u62c6\u5206\u4e3a <strong>JS0<\/strong> \u548c <strong>JSSugar<\/strong> \u7684\u60f3\u6cd5\u5417\uff1f\u597d\u5427\uff0c\u8fd9\u662f\u672c\u6708 <strong>TC39 \u4f1a\u8bae<\/strong> \u7684\u6700\u65b0\u6d88\u606f\uff1a<\/p>\n<p><strong>\u4e3b\u8981\u66f4\u65b0\uff1a<\/strong><\/p>\n<p><strong>\u65e0\u56de\u6eda\uff1a<\/strong>\u73b0\u6709\u529f\u80fd\u548c\u63d0\u6848\u4e0d\u4f1a\u53d7\u5230\u5f71\u54cd\u3002\u7136\u800c\uff0c\u672a\u6765\u7684\u589e\u5f3a\u529f\u80fd\u5c06\u76f8\u5e94\u5730\u5206\u5f00\u3002<\/p>\n<p><strong>\u8bed\u6cd5\u548c\u80fd\u529b\u90e8\u95e8\uff1a<\/strong> JSSugar \u5c06\u6258\u7ba1\u65b0\u7684\u8bed\u6cd5\u529f\u80fd\uff0c\u800c JS0 \u5c06\u4e13\u6ce8\u4e8e\u6838\u5fc3 API \u529f\u80fd\u3002<\/p>\n<p><strong>\u5de5\u5177\u6807\u51c6\uff1a<\/strong>\u751a\u81f3\u6709\u4eba\u63d0\u8bae\u7ec4\u5efa\u4e00\u4e2a\u56e2\u961f\u6765\u6807\u51c6\u5316 JavaScript \u5de5\u5177\uff0c\u4e3a Babel \u548c webpack \u7b49\u5de5\u5177\u5236\u5b9a\u6307\u5357\u3002<\/p>\n<p>\u793e\u533a\u91cc\u610f\u89c1\u4e0d\u4e00\uff0c\u8fd9\u573a\u4e89\u8bba\u8fd8\u8fdc\u6ca1\u6709\u7ed3\u675f\uff01<\/p>\n<h2> \u60a8\u5e94\u8be5\u4e86\u89e3\u7684\u5de5\u5177\u548c\u7248\u672c <\/h2>\n<p>\u8ba9\u6211\u4eec\u5feb\u901f\u6d4f\u89c8\u4e00\u4e0b\u672c\u5468\u5176\u4ed6\u4e00\u4e9b\u5927\u578b\u5de5\u5177\u66f4\u65b0\uff01<\/p>\n<p><strong>Faker 9.1\uff1a<\/strong>\u5b83\u53ef\u4ee5\u8ba9\u60a8\u8f7b\u677e\u751f\u6210\u8de8 60 \u591a\u4e2a\u8bed\u8a00\u73af\u5883\u7684\u771f\u5b9e\u6d4b\u8bd5\u6570\u636e\uff0c\u4ece\u59d3\u540d\u548c\u65e5\u671f\u5230\u8d22\u52a1\u6570\u636e\u3002\u5b83\u975e\u5e38\u9002\u5408\u9700\u8981\u5feb\u901f\u793a\u4f8b\u6570\u636e\u7684\u5f00\u53d1\u4eba\u5458\uff0c\u5e76\u4e14\u5f15\u5bfc\u5f0f\u63a7\u5236\u53f0\u6f14\u793a\u4f7f\u5165\u95e8\u53d8\u5f97\u7b80\u5355\u3002<\/p>\n<p><strong>Dependency Cruiser 16.5\uff1a<\/strong>\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u65e0\u7f1d\u53ef\u89c6\u5316\u548c\u7ba1\u7406\u9879\u76ee\u7684\u4f9d\u8d56\u9879\u3002\u5b83\u4f1a\u626b\u63cf\u89c4\u5219\u8fdd\u89c4\u5e76\u81ea\u52a8\u751f\u6210\u4f9d\u8d56\u5173\u7cfb\u56fe\uff0c\u4f7f\u60a8\u7684\u4ee3\u7801\u5e93\u4fdd\u6301\u4e95\u4e95\u6709\u6761\u4e14\u4e0d\u6df7\u4e71\u3002<\/p>\n<p><strong>Yantra\uff1a<\/strong> \u8fd9\u4e2a\u9002\u7528\u4e8e .NET Standard \u7684 JavaScript \u5f15\u64ce\u73b0\u5728\u5b8c\u5168\u7528 C# \u7f16\u5199\u3002\u5b83\u5c06 JavaScript \u7f16\u8bd1\u4e3a .NET \u7a0b\u5e8f\u96c6\uff0c\u5e76\u5177\u6709\u5b8c\u6574\u7684 ES5\/ES6 \u529f\u80fd\u652f\u6301\uff0c\u5305\u62ec\u5f02\u6b65\/\u7b49\u5f85\u3002\u8be5\u5f15\u64ce\u4f7f JavaScript \u4e0e .NET \u7684\u6df7\u5408\u6bd4\u4ee5\u5f80\u66f4\u52a0\u987a\u7545\u3002<\/p>\n<p><strong>Chakra UI v3<\/strong> \u5e26\u6765\u4e86\u5168\u9762\u7684\u6027\u80fd\u68c0\u4fee\u548c\u8d85\u8fc7 25 \u4e2a\u65b0\u7ec4\u4ef6\u3002\u501f\u52a9 Panda CSS \u96c6\u6210\u548c\u8bed\u4e49\u6807\u8bb0\uff0c\u4e3b\u9898\u81ea\u5b9a\u4e49\u73b0\u5728\u662f\u65e0\u7f1d\u7684\uff0c\u5e76\u4e14\u6697\u6a21\u5f0f\u4ece\u672a\u5982\u6b64\u6613\u4e8e\u7ba1\u7406\u3002\u8fd9\u79cd\u91cd\u65b0\u8bbe\u8ba1\u4f7f\u6784\u5efa\u7f8e\u89c2\u3001\u6613\u4e8e\u8bbf\u95ee\u7684\u754c\u9762\u66f4\u52a0\u5f3a\u5927\u548c\u76f4\u89c2\u3002<\/p>\n<p>\u300a<strong>\u672c\u5468 JavaScript<\/strong>\u300b\u7b2c\u4e03\u671f\u5c31\u5230\u6b64\u4e3a\u6b62\u4e86\uff01<\/p>\n<p>\u611f\u8c22\u60a8\u7684\u6536\u542c\u3002<\/p>\n<p>\u8bf7\u968f\u610f\u4e0e\u5176\u4ed6\u5f00\u53d1\u4eba\u5458\u5206\u4eab\u6b64\u65b0\u95fb\u901a\u8baf\uff0c\u5e76\u786e\u4fdd\u60a8\u5df2\u8ba2\u9605\u4ee5\u83b7\u5f97\u6709\u5173\u4e0b\u4e00\u671f\u7684\u901a\u77e5\u3002<\/p>\n<p>\u4e0b\u6b21\u518d\u89c1\uff0c\u5feb\u4e50\u7f16\u7801\uff01<\/p>\n<h2> \u53c2\u8003 <\/h2>\n<p>Python \u8d85\u8d8a Javascript<\/p>\n<p>JS0 \u548c JSSugar \u62c6\u5206<\/p>\n<p>Node.js \u53cc\u91cd\u53d1\u5e03\uff1a1\u30012<\/p>\n<p>Faker 9.1<\/p>\n<p>\u9644\u5c5e\u5de1\u6d0b\u823016.5<\/p>\n<p>\u626c\u7279\u62c9<\/p>\n<p>Chakra UI v3<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fClaude AI now runs JavaScript, Python beats JavaScript on GitHub, new Nodejs versions and more\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6b22\u8fce\u6765\u5230\u65b0\u4e00\u671f\u7684\u201cJavaScript \u672c\u5468\u201d\uff01 \u4eca\u5929\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd JavaScript \u5728\u7f16\u7a0b\u9886\u57df\u7684\u5730\u4f4d\u8f6c\u53d8\u3001Claude AI \u548c Node.js \u7684\u7a81\u7834\u6027\u66f4\u65b0\uff0c\u4ee5\u53ca\u5907\u53d7\u4e89\u8bae\u7684 JS0\/JSSugar \u63d0\u6848\uff0c\u4ee5\u53ca\u60a8\u4e0d\u5bb9\u9519\u8fc7\u7684\u4ee4\u4eba\u5174\u594b\u7684\u65b0\u5de5\u5177\uff01 Python \u51fb\u8d25 JavaScript Python \u5341\u5e74\u6765\u9996\u6b21\u51fb\u8d25 JavaScript \u6210\u4e3a GitHub \u4e0a\u6700\u53d7\u6b22\u8fce\u7684\u8bed\u8a00\uff01 \u4e3a\u4ec0\u4e48\u8981\u8f6c\u53d8\uff1f \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u4eba\u5de5\u667a\u80fd\u9879\u76ee\u7684\u5d1b\u8d77\uff1a\u5f97\u76ca\u4e8e\u673a\u5668\u5b66\u4e60\u548c\u6570\u636e\u79d1\u5b66\u5de5\u5177\uff08\u5982 Jupyter Notebook\uff09\uff0cPython \u7684\u53d7\u6b22\u8fce\u7a0b\u5ea6\u98d9\u5347\u3002 JavaScript \u4fdd\u6301\u5f3a\u52bf\uff1aJavaScript \u4ecd\u7136\u4e3b\u5bfc\u7740\u4ee3\u7801\u63a8\u9001\uff0cTypeScript \u7684\u91c7\u7528\u6b63\u5728\u84ec\u52c3\u53d1\u5c55\uff0c\u589e\u5f3a\u4e86\u751f\u6001\u7cfb\u7edf\u3002 \u6ca1\u6709 JavaScript \u8870\u9000\uff1a\u8fd9\u66f4\u50cf\u662f\u4e00\u79cd\u6f14\u53d8\uff0c\u5f00\u53d1\u4eba\u5458\u5229\u7528 TypeScript \u7684\u4f18\u52bf\u6765\u63d0\u9ad8\u4ee3\u7801\u8d28\u91cf\u3002 Claude AI \u73b0\u5728\u8fd0\u884c JavaScript \u4eba\u5de5\u667a\u80fd\u5de5\u5177\u7684\u6fc0\u52a8\u4eba\u5fc3\u7684\u53d1\u5c55\u6765\u81eaAnthropic \u7684 Claude AI\uff01 \u65b0\u5206\u6790\u5de5\u5177\uff1aClaude \u73b0\u5728\u53ef\u4ee5\u5728\u6c99\u76d2\u73af\u5883\u4e2d\u7f16\u5199\u548c\u6267\u884c JavaScript \u5b9e\u65f6\u5904\u7406\uff1a\u5b9e\u73b0\u590d\u6742\u7684\u6570\u636e\u5206\u6790\u548c\u5904\u7406\u80fd\u529b Node.js \u53cc\u91cd\u53d1\u5e03\uff1a\u7a33\u5b9a\u6027\u4e0e\u901f\u5ea6\u7684\u7ed3\u5408 Node.js\u521a\u521a\u53d1\u5e03\u4e86\u4e24\u4e2a\u4ee4\u4eba\u5174\u594b\u7684\u7248\u672c\uff01\u8ba9\u6211\u4eec\u6765\u5206\u89e3\u4e00\u4e0b\uff1a Node.js v22.11.0\uff08LTS &#8211; Jod\uff09 \u957f\u671f\u652f\u6301\uff1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-2347","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/2347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=2347"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/2347\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=2347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=2347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=2347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}