{"id":4599,"date":"2024-08-30T00:40:37","date_gmt":"2024-08-29T16:40:37","guid":{"rendered":"https:\/\/www.aqwu.net\/wp\/?p=4599"},"modified":"2024-08-30T00:43:16","modified_gmt":"2024-08-29T16:43:16","slug":"%e5%9f%ba%e4%ba%8e-chatgpt-%e5%af%b9%e7%bc%96%e8%af%91%e7%9a%84js%e4%bb%a3%e7%a0%81%e8%bf%9b%e8%a1%8c%e9%80%86%e5%90%91%e5%b7%a5%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.aqwu.net\/wp\/?p=4599","title":{"rendered":"\u57fa\u4e8e ChatGPT \u5bf9\u7f16\u8bd1\u7684JS\u4ee3\u7801\u8fdb\u884c\u9006\u5411\u5de5\u7a0b"},"content":{"rendered":"\n<p>\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u53cd\u7f16\u8bd1\u4e0d\u53ef\u8bfb\u7684\u73af\u5883\uff1f<\/p>\n\n\n\n<p>\u5728\u6d4f\u89c8 Internet \u5bfb\u627e\u7075\u611f\u65f6\uff0c\u6211\u53d1\u73b0\u4e86\u4e00\u4e2a<a href=\"https:\/\/reactive.network\/hackathon\">\u770b\u8d77\u6765\u6709\u8da3\u7684\u7ec4\u4ef6<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/glama.ai\/images\/reactive-VTS6R4H7.gif\" alt=\"\u53cd\u5e94\u5f0f\u7f51\u7edc\u9ed1\u5ba2\u9a6c\u62c9\u677e\"\/><\/figure>\n\n\n\n<p>\u6211\u89c9\u5f97\u5e26\u6709\u6b63\u5728\u8fd0\u884c\u7684 ASCII \u827a\u672f\u7684\u5757\u770b\u8d77\u6765\u5f88\u9177\uff0c\u4f46\u6211\u4e0d\u592a\u6e05\u695a\u5b83\u662f\u5982\u4f55\u5b9e\u73b0\u7684\uff0c\u6240\u4ee5\u6211\u5f00\u59cb\u67e5\u770b\u6e90\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\u6211\u53d1\u73b0\u4ee3\u7801\u770b\u8d77\u6765\u53ef\u80fd\u6b63\u5728\u5b8c\u6210\u8fd9\u9879\u5de5\u4f5c\uff0c\u4f46\u5b83\u88ab\u7f29\u5c0f\u4e86\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:js decode:true \">const { floor: ra, abs: KE, min: QE } = Math,\n    O5 = [\"reactive.network REACTIVE.NETWORK\", \"$@B%8&amp;WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft\/|()1{}[]?-_+~&lt;&gt;i!lI;:,^`'. .:\u00e2\u2013\u2018\u00e2\u2013\u2019\u00e2\u2013\u201c\u00e2\u2013\u02c6\"],\n    G7 = Date.now() % 3 ? O5[1] : O5[0],\n    V5 = G7.length,\n    JE = { fps: 60 };\nfunction eT(e, t, n, r) {\n    const i = t.time * 8e-5,\n        s = QE(t.cols, t.rows),\n        o = t.metrics.aspect * 0.2,\n        l = { x: ((4 * (e.x - t.cols \/ 6.25)) \/ s) * o, y: (5 * (e.y - t.rows \/ 4)) \/ s },\n        u = ra(KE(YE(l) - i) * V5 + (ra(e.x \/ 1) % 2) * 2) % V5;\n    return G7[u];\n}\nconst tT = () =&gt; {\n    const e = j.useRef(null),\n        [t, n] = j.useState({ height: null, width: null });\n    return (\n        j.useEffect(() =&gt; {\n            function r() {\n                n({ height: window.innerHeight, width: window.innerWidth });\n            }\n            if (typeof window &lt; \"u\") return n({ height: window.innerHeight, width: window.innerWidth }), window.addEventListener(\"resize\", r), () =&gt; window.removeEventListener(\"resize\", r);\n        }, []),\n        j.useEffect(() =&gt; {\n            const r = e.current;\n            if (!r) return;\n            const i = 12,\n                s = ra(t.width \/ i) * 1.6,\n                o = ra(t.height \/ i),\n                l = { aspect: s \/ o },\n                u = setInterval(() =&gt; {\n                    let c = \"\";\n                    for (let d = 0; d &lt; o; d++) {\n                        for (let f = 0; f &lt; s; f++) c += eT({ x: f, y: d }, { cols: s, rows: o, metrics: l, time: Date.now() });\n                        c += `\n`;\n                    }\n                    r.textContent = c;\n                }, 1e3 \/ JE.fps);\n            return () =&gt; clearInterval(u);\n        }, [t]),\n        a.jsx(\"div\", { style: { position: \"absolute\", top: 0, left: 0, width: \"100%\", height: \"100%\" }, children: a.jsx(\"div\", { ref: e, style: { width: \"100%\", height: \"100%\", whiteSpace: \"pre\", overflow: \"hidden\" } }) })\n    );\n};\nfunction nT(e) {\n    return Math.cos(e.x * e.x - e.y * e.y);\n}\nconst { floor: ia, abs: rT, min: iT } = Math,\n    D5 = [\"reactive.network REACTIVE.NETWORK\", \"$@B%8&amp;WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft\/|()1{}[]?-_+~&lt;&gt;i!lI;:,^`'. .:\u00e2\u2013\u2018\u00e2\u2013\u2019\u00e2\u2013\u201c\u00e2\u2013\u02c6\"],\n    X7 = Date.now() % 3 ? D5[1] : D5[0],\n    F5 = X7.length,\n    sT = { fps: 60 };\nfunction oT(e, t, n, r) {\n    const i = t.time * 8e-5,\n        s = iT(t.cols, t.rows),\n        o = t.metrics.aspect * 0.2,\n        l = { x: ((4 * (e.x - t.cols \/ 6.25)) \/ s) * o, y: (5 * (e.y - t.rows \/ 4)) \/ s },\n        u = ia(rT(nT(l) - i) * F5 + (ia(e.x \/ 1) % 2) * 2) % F5;\n    return X7[u];\n}\nconst aT = () =&gt; {\n    const e = j.useRef(null),\n        [t, n] = j.useState({ height: null, width: null });\n    return (\n        j.useEffect(() =&gt; {\n            function r() {\n                n({ height: window.innerHeight, width: window.innerWidth });\n            }\n            if (typeof window &lt; \"u\") return n({ height: window.innerHeight, width: window.innerWidth }), window.addEventListener(\"resize\", r), () =&gt; window.removeEventListener(\"resize\", r);\n        }, []),\n        j.useEffect(() =&gt; {\n            const r = e.current;\n            if (!r) return;\n            const i = 12,\n                s = ia(t.width \/ i) * 1.6,\n                o = ia(t.height \/ i),\n                l = { aspect: s \/ o },\n                u = setInterval(() =&gt; {\n                    let c = \"\";\n                    for (let d = 0; d &lt; o; d++) {\n                        for (let f = 0; f &lt; s; f++) c += oT({ x: f, y: d }, { cols: s, rows: o, metrics: l, time: Date.now() });\n                        c += `\n`;\n                    }\n                    r.textContent = c;\n                }, 1e3 \/ sT.fps);\n            return () =&gt; clearInterval(u);\n        }, [t]),\n        a.jsx(\"div\", { style: { position: \"absolute\", top: 0, left: 0, width: \"100%\", height: \"100%\" }, children: a.jsx(\"div\", { ref: e, style: { width: \"100%\", height: \"100%\", whiteSpace: \"pre\", overflow: \"hidden\" } }) })\n    );<\/pre><\/div>\n\n\n\n<p>\u901a\u5e38\uff0c\u6211\u53ea\u662f\u901a\u8fc7\u9605\u8bfb\u6700\u5c0f\u5316\u7684\u4ee3\u7801\u6765\u7406\u89e3\u5b9e\u73b0\uff08\u6216\u5bfb\u627e\u6587\u4ef6\u6765\u6062\u590d\u539f\u59cb\u4ee3\u7801\uff09\u3002\u7136\u800c\uff0c\u6211\u610f\u8bc6\u5230\u6211\u4ece\u672a\u5c1d\u8bd5\u8fc7\u8ba9 ChatGPT \u4e3a\u6211\u505a\u8fd9\u4ef6\u4e8b&#8230;&#8230;\u6240\u4ee5\u6211\u590d\u5236\u4e86\u4e0a\u9762\u7684\u6240\u6709\u4ee3\u7801\uff0c\u5e76\u8981\u6c42 ChatGPT \u201c\u89e3\u91ca\u4ee3\u7801\u201d\u3002\u8fd9\u662f\u56de\u5e94\uff1a<br><\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:js decode:true \" >\u63d0\u4f9b\u7684\u4ee3\u7801\u76f8\u5f53\u590d\u6742\uff0c\u4f46\u6211\u4f1a\u5c06\u5176\u5206\u89e3\u4e3a\u66f4\u6613\u4e8e\u7406\u89e3\u7684\u683c\u5f0f\uff0c\u5e76\u89e3\u91ca\u5176\u4e0d\u540c\u7684\u90e8\u5206\u53ca\u5176\u529f\u80fd\u3002\n\n\u6982\u8ff0\n\u8be5\u4ee3\u7801\u4f7f\u7528 JavaScript \u5b9a\u4e49\u4e86\u51e0\u4e2a\u51fd\u6570\u548c\u7ec4\u4ef6\uff0c\u7279\u522b\u662f\u5728 React \u5e94\u7528\u7a0b\u5e8f\u7684\u4e0a\u4e0b\u6587\u4e2d\u3002\u5b83\u5904\u7406\u4f7f\u7528\u9884\u5b9a\u4e49\u96c6\u4e2d\u7684\u5b57\u7b26\u751f\u6210\u4e00\u4e9b\u52a8\u6001\u6587\u672c\u5185\u5bb9\uff0c\u53ef\u80fd\u662f ASCII \u827a\u672f\u6216\u67d0\u79cd\u89c6\u89c9\u6548\u679c\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u5305\u62ec\u7528\u4e8e\u4e8b\u4ef6\u5904\u7406\u3001\u6027\u80fd\u8ba1\u65f6\u548c HTML \u5185\u5bb9\u8f6c\u6362\u7684\u5b9e\u7528\u7a0b\u5e8f\u51fd\u6570\u3002\n\n\u5173\u952e\u7ec4\u4ef6\u548c\u529f\u80fd\n\u5b57\u7b26\u96c6\u9009\u62e9\uff08Character Set Selection\uff09\uff1a\nconst { floor: ra, abs: KE, min: QE } = Math;\nconst O5 = [\"reactive.network REACTIVE.NETWORK\", \"$@B%8&amp;WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft\/|()1{}[]?-_+~&lt;&gt;i!lI;:,^`'. .:\u00e2\u2013\u2018\u00e2\u2013\u2019\u00e2\u2013\u201c\u00e2\u2013\u02c6\"];\nconst G7 = Date.now() % 3 ? O5[1] : O5[0];\nconst V5 = G7.length;\n\u8fd9\u90e8\u5206\u4ee3\u7801\u5bfc\u5165\u4e86\u4e00\u4e9b\u5e38\u89c1\u7684 Math \u51fd\u6570\uff08\u3001 \u548c \uff09\u5e76\u5b9a\u4e49\u4e86\u4e24\u7ec4\u5b57\u7b26\uff0c\u5b58\u50a8\u5728 .floorabsminO5\n\u6839\u636e\u5f53\u524d\u65f6\u95f4 \uff08\uff09\uff0c\u9009\u62e9\u8fd9\u4e9b\u96c6\u5408\u4e4b\u4e00 \uff08\uff09 \u4f9b\u4ee5\u540e\u4f7f\u7528\u3002Date.now() % 3G7\n\u6240\u9009\u5b57\u7b26\u96c6\u7684\u957f\u5ea6\u5b58\u50a8\u5728 \u4e2d\u3002V5\n\u52a8\u6001\u89d2\u8272\u9009\u62e9\u529f\u80fd\uff1a\nfunction eT(e, t, n, r) {\n    const i = t.time * 8e-5;\n    const s = QE(t.cols, t.rows);\n    const o = t.metrics.aspect * 0.2;\n    const l = { x: ((4 * (e.x - t.cols \/ 6.25)) \/ s) * o, y: (5 * (e.y - t.rows \/ 4)) \/ s };\n    const u = ra(KE(YE(l) - i) * V5 + (ra(e.x \/ 1) % 2) * 2) % V5;\n    return G7[u];\n}\n\u8be5\u51fd\u6570\u6839\u636e\u8f93\u5165\u4f4d\u7f6e \uff08\uff0c \uff09 \u548c\u5f53\u524d\u65f6\u95f4 \uff08\uff09 \u751f\u6210\u5b57\u7b26\u3002eTe.xe.yt.time\n\u5b83\u4f7f\u7528\u4e00\u4e9b\u7eb5\u6a2a\u6bd4\u8ba1\u7b97\u6765\u8c03\u6574\u4f4d\u7f6e\uff0c\u5e76\u6839\u636e\u4f4d\u7f6e\u548c\u65f6\u95f4\u7684\u7ec4\u5408\u4ece\u4e2d\u9009\u62e9\u4e00\u4e2a\u5b57\u7b26\u3002G7\n\u51fd\u6570\u7684\u7528\u9014\u4ece\u4ee3\u7801\u4e2d\u6ca1\u6709\u76f4\u63a5\u660e\u786e\u51fa\u6765\uff0c\u4f46\u5b83\u4f3c\u4e4e\u662f\u6b64\u8ba1\u7b97\u4e2d\u4f7f\u7528\u7684\u81ea\u5b9a\u4e49\u51fd\u6570\u3002YE\nReact \u7ec4\u4ef6 \uff08tT\uff09 \u7528\u4e8e\u663e\u793a\u52a8\u6001\u5185\u5bb9\uff1a\nconst tT = () =&gt; {\n    const e = j.useRef(null);\n    const [t, n] = j.useState({ height: null, width: null });\n    j.useEffect(() =&gt; {\n        function r() {\n            n({ height: window.innerHeight, width: window.innerWidth });\n        }\n        if (typeof window &lt; \"u\") {\n            n({ height: window.innerHeight, width: window.innerWidth });\n            window.addEventListener(\"resize\", r);\n            return () =&gt; window.removeEventListener(\"resize\", r);\n        }\n    }, []);\n\n    j.useEffect(() =&gt; {\n        const r = e.current;\n        if (!r) return;\n        const i = 12;\n        const s = ra(t.width \/ i) * 1.6;\n        const o = ra(t.height \/ i);\n        const l = { aspect: s \/ o };\n        const u = setInterval(() =&gt; {\n            let c = \"\";\n            for (let d = 0; d &lt; o; d++) {\n                for (let f = 0; f &lt; s; f++) c += eT({ x: f, y: d }, { cols: s, rows: o, metrics: l, time: Date.now() });\n                c += `\n`;\n            }\n            r.textContent = c;\n        }, 1e3 \/ JE.fps);\n        return () =&gt; clearInterval(u);\n    }, [t]);\n\n    return a.jsx(\"div\", { style: { position: \"absolute\", top: 0, left: 0, width: \"100%\", height: \"100%\" }, children: a.jsx(\"div\", { ref: e, style: { width: \"100%\", height: \"100%\", whiteSpace: \"pre\", overflow: \"hidden\" } }) });\n};\n\u8fd9\u662f\u4e00\u4e2a React \u7ec4\u4ef6\uff0c\u5b83\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u95f4\u9694\uff0c\u4ee5\u4f7f\u7528\u52a8\u6001\u751f\u6210\u7684\u5b57\u7b26\u5b9a\u671f\u66f4\u65b0\u5143\u7d20 \uff08\uff09 \u7684\u5185\u5bb9\u3002dive.current\n\u5b83\u6839\u636e\u7a97\u53e3\u5927\u5c0f\u8ba1\u7b97\u5217\u6570 \uff08\uff09 \u548c\u884c\u6570 \uff08\uff09\uff0c\u7136\u540e\u7528\u51fd\u6570\u751f\u6210\u7684\u5b57\u7b26\u586b\u5145\u3002sodiveT\n\u6548\u679c\u4ee5\u6307\u5b9a\u7684\u6bcf\u79d2\u5e27\u6570 \uff08\uff09 \u8fd0\u884c\u3002JE.fps<\/pre><\/div>\n\n\n\n<p>\u6211\u63a5\u7740\u8be2\u95ee\u201c\u5728 TypeScript \u4e2d\u5b9e\u73b0\u7b49\u6548\u4ee3\u7801\u5e76\u4f7f\u5176\u53ef\u8bfb\u201d\uff0c\u5e76\u5f97\u5230\u4ee5\u4e0b\u54cd\u5e94\uff1a<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:js decode:true \" >import React, { useEffect, useRef, useState } from 'react';\n\nconst selectedCharacterSet =\n  \"$@B%8&amp;WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft\/|()1{}[]?-_+~&lt;&gt;i!lI;:,^`'. .:\u00e2\u2013\u2018\u00e2\u2013\u2019\u00e2\u2013\u201c\u00e2\u2013\u02c6\";\nconst characterSetLength = selectedCharacterSet.length;\n\nconst calculateCharacter = (\n  x: number,\n  y: number,\n  cols: number,\n  rows: number,\n  aspect: number,\n  time: number,\n): string =&gt; {\n  const timeFactor = time * 0.000_08;\n  const size = Math.min(cols, rows);\n  const aspectRatio = aspect * 0.2;\n  const position = {\n    x: ((4 * (x - cols \/ 6.25)) \/ size) * aspectRatio,\n    y: (5 * (y - rows \/ 4)) \/ size,\n  };\n\n  const index =\n    Math.floor(\n      Math.abs(\n        Math.cos(position.x * position.x - position.y * position.y) -\n          timeFactor,\n      ) *\n        characterSetLength +\n        (Math.floor(x) % 2) * 2,\n    ) % characterSetLength;\n  return selectedCharacterSet[index];\n};\n\ntype Size = {\n  height: null | number;\n  width: null | number;\n};\n\nconst AsciiArtGenerator: React.FC = () =&gt; {\n  const textRef = useRef&lt;HTMLDivElement&gt;(null);\n  const [size, setSize] = useState&lt;Size&gt;({ height: null, width: null });\n\n  useEffect(() =&gt; {\n    const handleResize = () =&gt; {\n      setSize({ height: window.innerHeight, width: window.innerWidth });\n    };\n\n    \/\/ Initial size setting\n    handleResize();\n\n    window.addEventListener('resize', handleResize);\n    return () =&gt; {\n      window.removeEventListener('resize', handleResize);\n    };\n  }, []);\n\n  useEffect(() =&gt; {\n    const element = textRef.current;\n    if (!element || !size.width || !size.height) return undefined;\n\n    const cols = Math.floor(size.width \/ 12) * 1.6;\n    const rows = Math.floor(size.height \/ 12);\n    const aspectRatio = cols \/ rows;\n\n    const intervalId = setInterval(() =&gt; {\n      let content = '';\n\n      for (let y = 0; y &lt; rows; y++) {\n        for (let x = 0; x &lt; cols; x++) {\n          content += calculateCharacter(\n            x,\n            y,\n            cols,\n            rows,\n            aspectRatio,\n            Date.now(),\n          );\n        }\n\n        content += '\\n';\n      }\n\n      element.textContent = content;\n    }, 1_000 \/ 60); \/\/ 60 fps\n\n    return () =&gt; {\n      clearInterval(intervalId);\n    };\n  }, [size]);\n\n  return (\n    &lt;div\n      ref={textRef}\n      style={{\n        height: '100%',\n        overflow: 'hidden',\n        whiteSpace: 'pre',\n        width: '100%',\n      }}\n    \/&gt;\n  );\n};\n\nexport default () =&gt; {\n  return &lt;AsciiArtGenerator \/&gt;;\n};<\/pre><\/div>\n\n\n\n<p>\u4ee4\u6211\u60ca\u8bb6\u7684\u662f\uff0c\u54cd\u5e94\u4e0d\u4ec5\u8db3\u591f\u597d\uff0c\u800c\u4e14\u53ef\u8bfb\u6027\u5f88\u5f3a\u3002<\/p>\n\n\n\n<p>\u6bd4\u8f83\u8f93\u51fa\uff0c<del>\u770b\u8d77\u6765 LLM \u54cd\u5e94\u5ffd\u7565\u4e86\u4e00\u4e9b\u5b9e\u73b0\u7ec6\u8282<\/del>\uff0c\u4f46\u5b83\u4ecd\u7136\u662f\u4e00\u4e2a\u8db3\u591f\u597d\u7684\u5b9e\u73b0\uff0c\u503c\u5f97\u501f\u9274\u3002\u7edd\u5bf9\u662f\u4e00\u4e2a\u6211\u4ee5\u524d\u6ca1\u6709\u8003\u8651\u8fc7\u7684\u7b80\u6d01\u7528\u4f8b\uff01<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u66f4\u65b0 \uff082024-08-29\uff09\uff1a\u6700\u521d\uff0c\u6211\u8ba4\u4e3a LLM \u6ca1\u6709\u51c6\u786e\u5730\u590d\u5236\u903b\u8f91\uff0c\u56e0\u4e3a\u8f93\u51fa\u7f3a\u5c11\u539f\u59cb\u7ec4\u4ef6\u4e2d\u53ef\u89c1\u7684\u4e00\u4e9b\u5b57\u7b26\uff08\u4f8b\u5982\uff0c\uff09\u3002\u4f46\u662f\uff0c<a href=\"https:\/\/news.ycombinator.com\/item?id=41389791\">HN \u8bba\u575b\u4e0a\u7684\u4e00\u4f4d\u7528\u6237<\/a>\u6307\u51fa\uff0c\u8fd9\u53ef\u80fd\u662f\u4e00\u4e2a\u590d\u5236\u7c98\u8d34\u9519\u8bef\u3002<code>\u2591\u2592\u2593\u2588<\/code><\/p>\n\n\n\n<p>\u7ecf\u8fc7\u8fdb\u4e00\u6b65\u8c03\u67e5\uff0c\u6211\u53d1\u73b0\u539f\u59cb\u4ee3\u7801\u5305\u542b\u7684\u5b57\u7b26\u4e0e\u6211\u7c98\u8d34\u5230 ChatGPT \u4e2d\u7684\u5b57\u7b26\u4e0d\u540c\u3002\u8fd9\u4f3c\u4e4e\u662f\u4e00\u4e2a\u7f16\u7801\u95ee\u9898\uff0c\u56e0\u4e3a\u6211\u5728\u4e0b\u8f7d\u811a\u672c\u540e\u80fd\u591f\u83b7\u5f97\u6b63\u786e\u7684\u5b57\u7b26\u3002\u66f4\u65b0\u4ee3\u7801\u4ee5\u4f7f\u7528\u6b63\u786e\u7684\u5b57\u7b26\u540e\uff0c\u8f93\u51fa\u73b0\u5728\u4e0e\u539f\u59cb\u7ec4\u4ef6\u76f8\u540c\u3002<\/p>\n\n\n\n<p>\u6211\u5f88\u62b1\u6b49\uff0cGPT-4\uff0c\u9519\u8bef\u5730\u6307\u8d23\u4f60\u72af\u4e86\u9519\u8bef\u3002<\/p>\n<\/blockquote>\n\n\n\n<p>\u539f\u6587\u94fe\u63a5\uff1a<a href=\"https:\/\/glama.ai\/blog\/2024-08-29-reverse-engineering-minified-code-using-openai\">\u4f7f\u7528 ChatGPT \u5bf9\u7f29\u5c0f\u7684 JavaScript \u8fdb\u884c\u9006\u5411\u5de5\u7a0b &#8211; \u9002\u7528\u4e8e\u56e2\u961f\u7684 ChatGPT |GLAMA\uff08\u9b45\u529b\uff09<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u53cd\u7f16\u8bd1\u4e0d\u53ef\u8bfb\u7684\u73af\u5883\uff1f \u5728\u6d4f\u89c8 Internet \u5bfb\u627e\u7075\u611f\u65f6\uff0c\u6211\u53d1\u73b0\u4e86\u4e00\u4e2a\u770b\u8d77\u6765\u6709\u8da3\u7684\u7ec4\u4ef6\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[444,313,289,312],"tags":[242,314],"class_list":["post-4599","post","type-post","status-publish","format-standard","hentry","category-ai","category-chatgpt","category-gpt","category-openai","tag-chatgpt","tag-openai-api"],"views":2601,"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/4599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4599"}],"version-history":[{"count":3,"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/4599\/revisions"}],"predecessor-version":[{"id":4602,"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/4599\/revisions\/4602"}],"wp:attachment":[{"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aqwu.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}