{"id":1972,"date":"2024-10-09T11:37:53","date_gmt":"2024-10-09T03:37:53","guid":{"rendered":"https:\/\/www.openbyt.com\/spieth-in-danger-of-missing-cut-2"},"modified":"2024-10-19T21:30:38","modified_gmt":"2024-10-19T13:30:38","slug":"spieth-in-danger-of-missing-cut-2","status":"publish","type":"post","link":"https:\/\/www.openbyt.com\/ja\/\u30b9\u30d4\u30fc\u30b9\u3001\u30ab\u30c3\u30c82\u9032\u51fa\u306e\u5371\u6a5f","title":{"rendered":"WordPress\u3067JavaScript\u3092\u30de\u30b9\u30bf\u30fc\uff1a\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u30ac\u30a4\u30c9"},"content":{"rendered":"<p><strong>WordPress\u306eJavaScript\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6a19\u6e96\u3092\u30de\u30b9\u30bf\u30fc\uff1a\u958b\u767a\u8005\u306e\u305f\u3081\u306e\u7dcf\u5408\u30ac\u30a4\u30c9<\/strong><\/p><p>WordPress \u306b\u304a\u3051\u308b JavaScript \u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6a19\u6e96\u306f\u3001\u30c6\u30fc\u30de\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u958b\u767a\u3001\u30b3\u30a2\u3078\u306e\u8ca2\u732e\u306e\u3044\u305a\u308c\u306b\u304a\u3044\u3066\u3082\u3001\u4e00\u8cab\u6027\u3001\u53ef\u8aad\u6027\u3001\u9ad8\u54c1\u8cea\u306e\u30b3\u30fc\u30c9\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u6a19\u6e96\u306f\u3001JavaScript \u304c PHP\u3001HTML\u3001CSS \u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u7d71\u5408\u3055\u308c\u3001\u591a\u69d8\u306a\u30c1\u30fc\u30e0\u9593\u3067\u306e\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u4fc3\u9032\u3059\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u958b\u767a\u8005\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u4f7f\u3063\u3066\u3053\u308c\u3089\u306e\u6a19\u6e96\u3092\u5206\u89e3\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p><figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.22.41-An-engaging-illustration-showing-the-importance-of-JavaScript-coding-standards-in-WordPress-development.-Include-visual-elements-representing-consiste.webp\" alt=\"\" class=\"wp-image-2286\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.22.41-An-engaging-illustration-showing-the-importance-of-JavaScript-coding-standards-in-WordPress-development.-Include-visual-elements-representing-consiste.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.22.41-An-engaging-illustration-showing-the-importance-of-JavaScript-coding-standards-in-WordPress-development.-Include-visual-elements-representing-consiste-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.22.41-An-engaging-illustration-showing-the-importance-of-JavaScript-coding-standards-in-WordPress-development.-Include-visual-elements-representing-consiste-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.22.41-An-engaging-illustration-showing-the-importance-of-JavaScript-coding-standards-in-WordPress-development.-Include-visual-elements-representing-consiste-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.22.41-An-engaging-illustration-showing-the-importance-of-JavaScript-coding-standards-in-WordPress-development.-Include-visual-elements-representing-consiste-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.22.41-An-engaging-illustration-showing-the-importance-of-JavaScript-coding-standards-in-WordPress-development.-Include-visual-elements-representing-consiste-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>\u6982\u8981jQuery\u306e\u57fa\u76e4\u306e\u69cb\u7bc9<\/strong><\/p><p>WordPress JavaScript \u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6a19\u6e96\u306f <strong>jQuery JavaScript\u30b9\u30bf\u30a4\u30eb\u30ac\u30a4\u30c9<\/strong>\u5f53\u521d\u306f2012\u5e74\u306b\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002\u5f53\u521d\u306fjQuery\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u305d\u306e\u6210\u529f\u306b\u3088\u308a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u4ee5\u5916\u306b\u3082\u5e83\u304f\u63a1\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001WordPress\u306f\u3053\u308c\u3089\u306e\u6a19\u6e96\u3092\u72ec\u81ea\u306b\u89e3\u91c8\u3057\u3066\u304a\u308a\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306ejQuery\u30ac\u30a4\u30c9\u3068\u306f\u82e5\u5e72\u7570\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p><figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.25.20-An-engaging-illustration-showing-the-evolution-of-JavaScript-coding-standards-in-WordPress-derived-from-the-jQuery-JavaScript-Style-Guide.-Include-vi.webp\" alt=\"\" class=\"wp-image-2287\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.25.20-An-engaging-illustration-showing-the-evolution-of-JavaScript-coding-standards-in-WordPress-derived-from-the-jQuery-JavaScript-Style-Guide.-Include-vi.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.25.20-An-engaging-illustration-showing-the-evolution-of-JavaScript-coding-standards-in-WordPress-derived-from-the-jQuery-JavaScript-Style-Guide.-Include-vi-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.25.20-An-engaging-illustration-showing-the-evolution-of-JavaScript-coding-standards-in-WordPress-derived-from-the-jQuery-JavaScript-Style-Guide.-Include-vi-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.25.20-An-engaging-illustration-showing-the-evolution-of-JavaScript-coding-standards-in-WordPress-derived-from-the-jQuery-JavaScript-Style-Guide.-Include-vi-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.25.20-An-engaging-illustration-showing-the-evolution-of-JavaScript-coding-standards-in-WordPress-derived-from-the-jQuery-JavaScript-Style-Guide.-Include-vi-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.25.20-An-engaging-illustration-showing-the-evolution-of-JavaScript-coding-standards-in-WordPress-derived-from-the-jQuery-JavaScript-Style-Guide.-Include-vi-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p>\u4e3b\u306a\u9055\u3044\u306f\u4ee5\u4e0b\u306e\u901a\u308a\uff1a<\/p><ol class=\"wp-block-list\"><li><strong>\u5f26\u697d\u5668\u306e\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8<\/strong>:WordPress \u306f\u6587\u5b57\u5217\u306e\u5ba3\u8a00\u306b\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n<li><strong>\u30b1\u30fc\u30b9\u30fb\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u30a4\u30f3\u30c7\u30f3\u30c8<\/strong>:WordPress\u3067\u306f\u3001case\u6587\u306fswitch\u30d6\u30ed\u30c3\u30af\u5185\u3067\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u307e\u3059\u3002<\/li>\n\n<li><strong>\u4e00\u8cab\u3057\u305f\u6a5f\u80fd\u30a4\u30f3\u30c7\u30f3\u30c8<\/strong>:\u95a2\u6570\u5185\u306e\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u5168\u4f53\u306e\u30af\u30ed\u30fc\u30b8\u30e3\u30e9\u30c3\u30d1\u30fc\u3082\u542b\u3081\u3066\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u307e\u3059\u3002<\/li>\n\n<li><strong>\u7dda\u9577\u5236\u9650\u306e\u7de9\u548c<\/strong>:jQuery\u3067\u306f1\u884c\u306e\u6587\u5b57\u6570\u3092100\u6587\u5b57\u306b\u5236\u9650\u3057\u3066\u3044\u307e\u3059\u304c\u3001WordPress\u3067\u306f100\u6587\u5b57\u306b\u5236\u9650\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002<\/li><\/ol><h3 class=\"wp-block-heading\">WordPress JavaScript \u6a19\u6e96\u304c\u30ab\u30d0\u30fc\u3059\u308b\u30b3\u30a2\u9818\u57df<\/h3><p><strong>1.\u30b3\u30fc\u30c9\u306e\u66f8\u5f0f\u3068\u30a4\u30f3\u30c7\u30f3\u30c8<\/strong><\/p><ol class=\"wp-block-list\"><li><\/li><\/ol><p>\u9069\u5207\u306a\u66f8\u5f0f\u3068\u30a4\u30f3\u30c7\u30f3\u30c8\u306f\u3001\u8aad\u307f\u3084\u3059\u304f\u4fdd\u5b88\u6027\u306e\u9ad8\u3044\u30b3\u30fc\u30c9\u306b\u4e0d\u53ef\u6b20\u3067\u3059\u3002WordPress\u306e\u6a19\u6e96\u306f\u6b21\u306e\u3053\u3068\u3092\u5f37\u8abf\u3057\u3066\u3044\u307e\u3059\uff1a<\/p><ul class=\"wp-block-list\"><li><strong>\u30a4\u30f3\u30c7\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3<\/strong>:\u7528\u9014 <strong>\u30bf\u30d6<\/strong> \u30a4\u30f3\u30c7\u30f3\u30c8\u306b\u306f\u30b9\u30da\u30fc\u30b9\u306e\u4ee3\u308f\u308a\u306b\u5404\u8ad6\u7406\u30d6\u30ed\u30c3\u30af\u306f\u3001\u8aad\u307f\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u308b\u3079\u304d\u3067\u3059\u3002\u30bf\u30d6\u306f\u3001\u7279\u306b\u7570\u306a\u308b\u958b\u767a\u8005\u304c\u540c\u3058\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3067\u4f5c\u696d\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u3001\u4e00\u8cab\u6027\u3092\u4fdd\u3064\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li><\/ul><pre class=\"wp-block-code\"><code>( function ( $ ) { )\n    \/\/ \u30d6\u30ed\u30c3\u30af\u5f0f\u306f\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u307e\u3059\n    \u95a2\u6570 doSomething() {\n        \/\/ \u95a2\u6570\u30b3\u30fc\u30c9\u3082\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u307e\u3059\n        console.log( 'Doing something' )\uff1b\n    }\n} )( jQuery )\uff1b<\/code><\/pre><p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001\u95a2\u6570doSomething()\u3068\u305d\u306e\u5185\u5bb9\u304cIIFE\u306e\u4e00\u90e8\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3059\u305f\u3081\u306b\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p><p><strong>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001\u95a2\u6570doSomething()\u3068\u305d\u306e\u5185\u5bb9\u304cIIFE\u306e\u4e00\u90e8\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3059\u305f\u3081\u306b\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/strong><\/p><pre class=\"wp-block-code\"><code>var html = '&lt;p&gt;a + ' \u3068 ' b + ' \u306e\u548c\u306f ' ( a + b ) + ' \u3067\u3059\u3002&lt;\/p&gt;';\n\n\u8981\u7d20\n    .addClass( 'foo' )\n    .children()\n        .html( 'hello' )\n    .end()\n    .appendTo( 'body' )\uff1b<\/code><\/pre><p>\u3053\u3053\u3067\u306f\u3001\u30c1\u30a7\u30fc\u30f3\u306e\u5404\u30e1\u30bd\u30c3\u30c9\u304c\u65b0\u3057\u3044\u884c\u3067\u59cb\u307e\u308b\u306e\u3067\u3001\u4e00\u9023\u306e\u64cd\u4f5c\u304c\u8aad\u307f\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p><figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.40.49-An-illustration-showing-key-differences-in-WordPress-JavaScript-coding-standards-including-single-quotes-for-strings-indentation-for-case-statements.webp\" alt=\"\" class=\"wp-image-2291\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.40.49-An-illustration-showing-key-differences-in-WordPress-JavaScript-coding-standards-including-single-quotes-for-strings-indentation-for-case-statements.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.40.49-An-illustration-showing-key-differences-in-WordPress-JavaScript-coding-standards-including-single-quotes-for-strings-indentation-for-case-statements-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.40.49-An-illustration-showing-key-differences-in-WordPress-JavaScript-coding-standards-including-single-quotes-for-strings-indentation-for-case-statements-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.40.49-An-illustration-showing-key-differences-in-WordPress-JavaScript-coding-standards-including-single-quotes-for-strings-indentation-for-case-statements-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.40.49-An-illustration-showing-key-differences-in-WordPress-JavaScript-coding-standards-including-single-quotes-for-strings-indentation-for-case-statements-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.40.49-An-illustration-showing-key-differences-in-WordPress-JavaScript-coding-standards-including-single-quotes-for-strings-indentation-for-case-statements-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>2.\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u30a2\u30ec\u30a4\u306e\u9593\u9694<\/strong><\/p><p><strong>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u914d\u5217<\/strong>:\u7279\u306b\u8907\u96d1\u306a\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u6271\u3046\u5834\u5408\u3001\u4e00\u8cab\u3057\u305f\u30b9\u30da\u30fc\u30b7\u30f3\u30b0\u306f\u8996\u899a\u7684\u306b\u308f\u304b\u308a\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002\u30b9\u30da\u30fc\u30b7\u30f3\u30b0\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\uff1a<\/p><pre class=\"wp-block-code\"><code>\/\/ \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5ba3\u8a00\u3059\u308b\u6b63\u3057\u3044\u65b9\u6cd5\nvar obj = {\n    \u540d\u524d: 'John'\u3001\n    \u5e74\u9f62: 27\u3001\n    \u8eab\u9577: 179\n};\n\n\/\/ \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5ba3\u8a00\u65b9\u6cd5\u304c\u9593\u9055\u3063\u3066\u3044\u307e\u3059\uff08\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u51dd\u7e2e\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\uff09\nvar obj = { name: 'John', age: 27, height: 179 }\uff1b\n\n\/\/ \u914d\u5217\u3082\u4e00\u8cab\u3057\u305f\u9593\u9694\u306b\u5f93\u3046\u3079\u304d\nvar array = [ 1, 2, 3 ]\uff1b<\/code><\/pre><p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3084\u914d\u5217\u306e\u9593\u9694\u3092\u9069\u5207\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u8996\u899a\u7684\u306b\u660e\u78ba\u306b\u306a\u308a\u3001\u30c7\u30d0\u30c3\u30b0\u3084\u30b3\u30fc\u30c9\u30ec\u30d3\u30e5\u30fc\u306e\u969b\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p><p><strong>3.\u30bb\u30df\u30b3\u30ed\u30f3<\/strong><\/p><p>\u5e38\u306b <strong>\u30bb\u30df\u30b3\u30ed\u30f3<\/strong> \u3092\u4f7f\u7528\u3057\u3066\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002\u30bb\u30df\u30b3\u30ed\u30f3\u3092\u7701\u7565\u3059\u308b\u3068\u3001JavaScript \u306e\u81ea\u52d5\u30bb\u30df\u30b3\u30ed\u30f3\u633f\u5165 (ASI) \u3067\u4e88\u671f\u305b\u306c\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p><pre class=\"wp-block-code\"><code>var array = [ 1, 2 ]\uff1b\nconsole.log( 'Hello, world!' )\uff1b<\/code><\/pre><p>JavaScript\u306f\u30bb\u30df\u30b3\u30ed\u30f3\u3092\u63a8\u6e2c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u7279\u306b\u8907\u6570\u306e\u30b3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u308a\u3001\u30c1\u30fc\u30e0\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8ca2\u732e\u3057\u305f\u308a\u3059\u308b\u5834\u5408\u306f\u3001\u66d6\u6627\u3055\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u30bb\u30df\u30b3\u30ed\u30f3\u3092\u660e\u793a\u7684\u306b\u542b\u3081\u308b\u306e\u304c\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002<\/p><p><strong>4.\u5909\u6570\u306e\u5ba3\u8a00 <code>\u30b3\u30f3\u30b9\u30c8<\/code>, <code>\u30ec\u30c3\u30c8<\/code>\u305d\u3057\u3066 <code>\u30f4\u30a1\u30fc\u30eb<\/code><\/strong><\/p><ul class=\"wp-block-list\"><li>\u7528\u9014 <strong>\u30b3\u30f3\u30b9\u30c8<\/strong> \u3092\u3001\u5024\u304c\u5909\u66f4\u3055\u308c\u306a\u3044\u5909\u6570\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u5076\u767a\u7684\u306a\u518d\u5272\u308a\u5f53\u3066\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u3001 \u4ed6\u306e\u958b\u767a\u8005\u306b\u3082\u3042\u306a\u305f\u306e\u610f\u56f3\u3092\u660e\u78ba\u306b\u4f1d\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n\n<li>\u7528\u9014 <strong>\u30ec\u30c3\u30c8<\/strong> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5909\u6570\u306e\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u304c\u78ba\u4fdd\u3055\u308c\u3001\u30db\u30a4\u30b9\u30c6\u30a3\u30f3\u30b0\u306b\u95a2\u9023\u3059\u308b\u554f\u984c\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n\n<li>**\u907f\u3051\u3066\u304f\u3060\u3055\u3044<strong>\u30f4\u30a1\u30fc\u30eb<\/strong> \u95a2\u6570\u30b9\u30b3\u30fc\u30d7\u3092\u6301\u3064\u305f\u3081\u3001\u30db\u30a4\u30b9\u30c8\u306b\u3088\u308b\u610f\u56f3\u3057\u306a\u3044\u52d5\u4f5c\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002<\/li><\/ul><pre class=\"wp-block-code\"><code>const userName = 'Alice'; \/\/ \u56fa\u5b9a\u306e\u5024\u306b\u306f const \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\nlet userAge = 30; \/\/ \u5909\u308f\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u5024\u306b\u306f let \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/code><\/pre><p>\u4f7f\u7528 <code>\u30b3\u30f3\u30b9\u30c8<\/code> \u305d\u3057\u3066 <code>\u30ec\u30c3\u30c8<\/code> \u3092\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u306e\u5b89\u5168\u6027\u304c\u5411\u4e0a\u3057\u3001\u5909\u6570\u306e\u5bff\u547d\u306b\u95a2\u3059\u308b\u63a8\u8ad6\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p><p><strong>5.\u547d\u540d\u898f\u5247<\/strong><\/p><p>\u4e00\u8cab\u3057\u305f\u547d\u540d\u898f\u5247\u306f\u3001\u30b3\u30fc\u30c9\u3092\u3088\u308a\u8aad\u307f\u3084\u3059\u304f\u3001\u4fdd\u5b88\u3057\u3084\u3059\u304f\u3057\u307e\u3059\uff1a<\/p><ul class=\"wp-block-list\"><li><strong>\u30ad\u30e3\u30e1\u30eb\u30b1\u30fc\u30b9<\/strong>:\u7528\u9014 <strong>\u30ad\u30e3\u30e1\u30eb\u30b1\u30fc\u30b9<\/strong> \u3092\u5909\u6570\u540d\u3084\u95a2\u6570\u540d\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070 <code>\u30e6\u30fc\u30b6\u30fcID<\/code> \u307e\u305f\u306f <code>\u30d5\u30a7\u30c3\u30c1\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf<\/code>.<\/li>\n\n<li><strong>\u30af\u30e9\u30b9<\/strong>:\u7528\u9014 <strong>\u30a2\u30c3\u30d1\u30fc\u30ad\u30e3\u30e1\u30eb\u30b1\u30fc\u30b9<\/strong> (PascalCase)\u3067\u30af\u30e9\u30b9\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n<li><strong>\u5b9a\u6570<\/strong>:\u7528\u9014 <strong>\u30b9\u30af\u30ea\u30fc\u30df\u30f3\u30b0_\u30b9\u30cd\u30fc\u30af_\u30b1\u30fc\u30b9<\/strong> \u3092\u5b9a\u6570\u3068\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li><\/ul><pre class=\"wp-block-code\"><code>const MAX_CONNECTIONS = 5\uff1b\n\u30af\u30e9\u30b9 UserProfile {\n    \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf( name ) {\n        this.name = name\uff1b\n    }\n}<\/code><\/pre><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.52.16-An-educational-illustration-explaining-naming-conventions-in-WordPress-JavaScript-coding-standards.-Show-examples-for-camelCase-for-variable-and-func.webp\" alt=\"\" class=\"wp-image-2292\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.52.16-An-educational-illustration-explaining-naming-conventions-in-WordPress-JavaScript-coding-standards.-Show-examples-for-camelCase-for-variable-and-func.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.52.16-An-educational-illustration-explaining-naming-conventions-in-WordPress-JavaScript-coding-standards.-Show-examples-for-camelCase-for-variable-and-func-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.52.16-An-educational-illustration-explaining-naming-conventions-in-WordPress-JavaScript-coding-standards.-Show-examples-for-camelCase-for-variable-and-func-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.52.16-An-educational-illustration-explaining-naming-conventions-in-WordPress-JavaScript-coding-standards.-Show-examples-for-camelCase-for-variable-and-func-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.52.16-An-educational-illustration-explaining-naming-conventions-in-WordPress-JavaScript-coding-standards.-Show-examples-for-camelCase-for-variable-and-func-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.52.16-An-educational-illustration-explaining-naming-conventions-in-WordPress-JavaScript-coding-standards.-Show-examples-for-camelCase-for-variable-and-func-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p>\u5909\u6570\u3084\u95a2\u6570\u306e CamelCase \u306f\u3001\u30af\u30e9\u30b9\u3084\u5b9a\u6570\u3068\u306e\u533a\u5225\u306b\u5f79\u7acb\u3061\u3001\u30b3\u30fc\u30c9\u306e\u660e\u77ad\u5316\u306b\u8ca2\u732e\u3057\u307e\u3059\u3002<\/p><p><strong>6.\u5e73\u7b49\u6027\u30c1\u30a7\u30c3\u30af<\/strong><\/p><p>\u5e38\u306b <strong>\u53b3\u5bc6\u306a\u7b49\u8cea\/\u4e0d\u7b49\u8cea (===**** \u3068 !==)<\/strong> \u30c1\u30a7\u30c3\u30af\u3092\u62bd\u8c61\u7684\u306a\u3082\u306e\uff08==\u3084!\uff09\u3053\u308c\u306b\u3088\u308a\u3001\u30d0\u30b0\u306e\u539f\u56e0\u3068\u306a\u308b\u4e88\u671f\u305b\u306c\u30bf\u30a4\u30d7\u306e\u5f37\u5236\u3092\u907f\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p><pre class=\"wp-block-code\"><code>if ( \u540d\u524d === '\u30b8\u30e7\u30f3' ) { \u3002\n    \/\/ \u53b3\u5bc6\u306a\u7b49\u53f7\u30c1\u30a7\u30c3\u30af\n    console.log( 'Hello, John!' )\uff1b\n}\n\nif ( result !== false ) { \/\/ \u53b3\u683c\u306a\u4e0d\u7b49\u53f7\u30c1\u30a7\u30c3\u30af\n    \/\/ \u53b3\u5bc6\u306a\u4e0d\u7b49\u5f0f\u30c1\u30a7\u30c3\u30af\n    console.log( '\u7d50\u679c\u306ffalse\u3067\u306f\u3042\u308a\u307e\u305b\u3093' )\uff1b\n}<\/code><\/pre><p>\u53b3\u5bc6\u306a\u7b49\u5f0f\u306f\u3001\u578b\u3068\u5024\u306e\u4e21\u65b9\u304c\u6bd4\u8f03\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u3001\u30b3\u30fc\u30c9\u3092\u3088\u308a\u4e88\u6e2c\u3057\u3084\u3059\u304f\u3057\u307e\u3059\u3002<\/p><p><strong>7.\u6587\u5b57\u5217\u306e\u53d6\u308a\u6271\u3044<\/strong><\/p><p>\u7528\u9014 <strong>\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8<\/strong> \u305f\u3060\u3057\u3001\u6587\u5b57\u5217\u306b\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30a8\u30b9\u30b1\u30fc\u30d7\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p><pre class=\"wp-block-code\"><code>var greeting = 'Hello world!\nvar statement = \"It's a nice day.\"\uff1b<\/code><\/pre><p>\u3053\u306e\u30eb\u30fc\u30eb\u306b\u3088\u3063\u3066\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u5168\u4f53\u306e\u4e00\u8cab\u6027\u304c\u78ba\u4fdd\u3055\u308c\u3001\u958b\u767a\u8005\u304c\u540c\u3058\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3046\u3053\u3068\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p><p><strong>8.\u30b9\u30a4\u30c3\u30c1\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong><\/p><p>Switch \u6587\u306f <strong>\u4f11\u61a9<\/strong> \u30d5\u30a9\u30fc\u30eb\u30b9\u30eb\u30fc\u30a8\u30e9\u30fc\u3092\u9632\u6b62\u3059\u308b\u305f\u3081\u3001\u5404\u30b1\u30fc\u30b9\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u9664\u304f\uff09\u3002\u3055\u3089\u306b <strong>\u30b1\u30fc\u30b9\u6587\u306e\u30a4\u30f3\u30c7\u30f3\u30c8<\/strong> \u306f\u3001\u30b9\u30a4\u30c3\u30c1\u5185\u306e1\u3064\u306e\u30bf\u30d6\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p><pre class=\"wp-block-code\"><code>switch ( event.keyCode ) {\n    case $.ui.keyCode.ENTER\uff1a\n    case $.ui.keyCode.SPACE\uff1a\n        executeFunction()\uff1b\n        break\uff1b\n    case $.ui.keyCode.ESCAPE\uff1a\n        cancelFunction()\uff1b\n        break\uff1b\n    default\uff1a\n        defaultFunction()\uff1b\n}<\/code><\/pre><p>\u9069\u5207\u306a\u30a4\u30f3\u30c7\u30f3\u30c8\u3068\u6539\u884c\u306e\u4f7f\u7528\u306b\u3088\u308a\u3001\u8907\u6570\u306e\u30b1\u30fc\u30b9\u3092\u6e80\u305f\u3057\u305f\u5834\u5408\u306e\u610f\u56f3\u3057\u306a\u3044\u52d5\u4f5c\u3092\u9632\u304e\u307e\u3059\u3002<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.59.17-An-educational-illustration-summarizing-WordPress-JavaScript-coding-standards-including-strict-equality-checks-string-handling-and-switch-statement-.webp\" alt=\"\" class=\"wp-image-2293\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.59.17-An-educational-illustration-summarizing-WordPress-JavaScript-coding-standards-including-strict-equality-checks-string-handling-and-switch-statement-.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.59.17-An-educational-illustration-summarizing-WordPress-JavaScript-coding-standards-including-strict-equality-checks-string-handling-and-switch-statement--600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.59.17-An-educational-illustration-summarizing-WordPress-JavaScript-coding-standards-including-strict-equality-checks-string-handling-and-switch-statement--100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.59.17-An-educational-illustration-summarizing-WordPress-JavaScript-coding-standards-including-strict-equality-checks-string-handling-and-switch-statement--300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.59.17-An-educational-illustration-summarizing-WordPress-JavaScript-coding-standards-including-strict-equality-checks-string-handling-and-switch-statement--150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-20.59.17-An-educational-illustration-summarizing-WordPress-JavaScript-coding-standards-including-strict-equality-checks-string-handling-and-switch-statement--768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><strong>WordPress\u306eJavaScript\u958b\u767a\u306b\u304a\u3051\u308b\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/strong><\/p><h4 class=\"wp-block-heading\">1.\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3092\u907f\u3051\u308b<\/h4><p>\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306f <strong>\u540d\u524d\u7a7a\u9593\u6c5a\u67d3<\/strong> \u3084\u4ed6\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u306e\u885d\u7a81\u306e\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002\u4ee3\u308f\u308a\u306b\u3001\u30b3\u30fc\u30c9\u3092 <strong>\u5373\u6642\u547c\u3073\u51fa\u3057\u95a2\u6570\u5f0f\uff08IIFE\uff09<\/strong> \u3067\u30ed\u30fc\u30ab\u30eb\u30b9\u30b3\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p><pre class=\"wp-block-code\"><code>( function() {\n    const localVar = '\u3053\u306e\u95a2\u6570\u306b\u30b9\u30b3\u30fc\u30d7'\uff1b\n    \/\/ \u3053\u3053\u3067\u306e\u30b3\u30fc\u30c9\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u30fb\u30b9\u30b3\u30fc\u30d7\u304b\u3089\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n} )();<\/code><\/pre><p>\u30b3\u30fc\u30c9\u3092\u30ab\u30d7\u30bb\u30eb\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u7279\u306b\u8907\u6570\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30fb\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u74b0\u5883\u3067\u4f5c\u696d\u3059\u308b\u5834\u5408\u306b\u3001\u7af6\u5408\u306e\u30ea\u30b9\u30af\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p><p><strong>2.\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u3068\u30b3\u30e1\u30f3\u30c8<\/strong><\/p><p>WordPress\u306f <strong>JSDoc 3\u6a19\u6e96<\/strong> JavaScript \u30b3\u30fc\u30c9\u3092\u6587\u66f8\u5316\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u3001\u8907\u96d1\u306a\u30e1\u30bd\u30c3\u30c9\u3084\u30af\u30e9\u30b9\u3001\u95a2\u6570\u306e\u6a5f\u80fd\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002<\/p><ul class=\"wp-block-list\"><li><strong>\u5358\u4e00\u884c\u306e\u30b3\u30e1\u30f3\u30c8<\/strong>:\u7528\u9014 <code>\/\/<\/code> \u7279\u306b\u7279\u5b9a\u306e\u30b3\u30fc\u30c9\u884c\u3092\u8aac\u660e\u3059\u308b\u5834\u5408\u306f\u3001\u7c21\u5358\u306a\u8aac\u660e\u306e\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n<li><strong>\u8907\u6570\u884c\u30b3\u30e1\u30f3\u30c8<\/strong>:\u7528\u9014 <code>\/* *\/<\/code> \u3088\u308a\u8a73\u7d30\u306a\u8aac\u660e\u3084\u30b3\u30fc\u30c9\u306e\u30d6\u30ed\u30c3\u30af\u3092\u8a18\u8ff0\u3059\u308b\u5834\u5408\u3002<\/li><\/ul><pre class=\"wp-block-code\"><code>\/**\n * \u4e8c\u3064\u306e\u6570\u5024\u3092\u52a0\u7b97\u3057\u307e\u3059\u3002\n *\n * @param {number} a - 1\u756a\u76ee\u306e\u6570\u5024\uff0e\n * @param {number} b - 2\u756a\u76ee\u306e\u6570\u5024\uff0e\n * return {number} a \u3068 b \u306e\u548c\u3002\n *\/\n\u95a2\u6570 add( a, b ) {\n    a + b \u3092\u8fd4\u3057\u307e\u3059\uff1b\n}<\/code><\/pre><p>JSDoc\u3067\u30b3\u30fc\u30c9\u3092\u6587\u66f8\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u30c4\u30fc\u30eb\u304c\u81ea\u52d5\u7684\u306b\u6587\u66f8\u3092\u751f\u6210\u3057\u3001\u958b\u767a\u8005\u304c\u5b9f\u88c5\u306b\u6df1\u304f\u6f5c\u3089\u306a\u304f\u3066\u3082\u30b3\u30fc\u30c9\u3092\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p><p><strong>3.\u30a8\u30e9\u30fc\u51e6\u7406<\/strong><\/p><p>\u7528\u9014 <strong>try...catch<\/strong> \u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3057\u3066\u3001\u6f5c\u5728\u7684\u306a\u30a8\u30e9\u30fc\u3092\u512a\u96c5\u306b\u51e6\u7406\u3057\u307e\u3059\u3002\u30a8\u30e9\u30fc\u51e6\u7406\u306f\u3001\u4e88\u671f\u3057\u306a\u3044\u554f\u984c\u304c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u306e\u5931\u6557\u3092\u5f15\u304d\u8d77\u3053\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p><pre class=\"wp-block-code\"><code>try {\n    const data = JSON.parse( jsonString )\uff1b\n} catch ( error ) {\n    console.error( 'Invalid JSON:', error )\uff1b\n}<\/code><\/pre><p>\u9069\u5207\u306a\u30a8\u30e9\u30fc\u51e6\u7406\u306f\u30b3\u30fc\u30c9\u306e\u56de\u5fa9\u529b\u3092\u9ad8\u3081\u3001\u30c7\u30d0\u30c3\u30b0\u3084\u4fdd\u5b88\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002<\/p><h3 class=\"wp-block-heading\">JavaScript\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u306e\u5b9f\u8df5<\/h3><p>\u3042\u306a\u305f\u306eJavaScript\u30b3\u30fc\u30c9\u304cWordPress\u306e\u6a19\u6e96\u306b\u6e96\u62e0\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f<\/p><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-21.06.47-A-concluding-illustration-for-an-article-on-WordPress-JavaScript-coding-standards.-Depict-developers-working-together-applying-best-practices-and-wr.webp\" alt=\"\" class=\"wp-image-2294\" srcset=\"https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-21.06.47-A-concluding-illustration-for-an-article-on-WordPress-JavaScript-coding-standards.-Depict-developers-working-together-applying-best-practices-and-wr.webp 1024w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-21.06.47-A-concluding-illustration-for-an-article-on-WordPress-JavaScript-coding-standards.-Depict-developers-working-together-applying-best-practices-and-wr-600x600.webp 600w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-21.06.47-A-concluding-illustration-for-an-article-on-WordPress-JavaScript-coding-standards.-Depict-developers-working-together-applying-best-practices-and-wr-100x100.webp 100w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-21.06.47-A-concluding-illustration-for-an-article-on-WordPress-JavaScript-coding-standards.-Depict-developers-working-together-applying-best-practices-and-wr-300x300.webp 300w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-21.06.47-A-concluding-illustration-for-an-article-on-WordPress-JavaScript-coding-standards.-Depict-developers-working-together-applying-best-practices-and-wr-150x150.webp 150w, https:\/\/www.openbyt.com\/wp-content\/uploads\/2024\/10\/DALL\u00b7E-2024-10-10-21.06.47-A-concluding-illustration-for-an-article-on-WordPress-JavaScript-coding-standards.-Depict-developers-working-together-applying-best-practices-and-wr-768x768.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>WordPress\u306eJavaScript\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6a19\u6e96\u3092\u30de\u30b9\u30bf\u30fc\uff1a\u958b\u767a\u8005\u306e\u305f\u3081\u306e\u5305\u62ec\u7684\u306a\u30ac\u30a4\u30c9 WordPress\u306b\u304a\u3051\u308bJavaScript\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6a19\u6e96\u306f\u3001\u4e00\u8cab\u6027\u3001\u53ef\u8aad\u6027\u3001\u305d\u3057\u3066\u9ad8\u54c1\u8cea\u306e\u30b3\u30fc\u30c9\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":3129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,83],"tags":[196,195,197,194],"class_list":["post-1972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dev-tips","category-developer-tips","tag-best-practices","tag-coding-standards","tag-web-development","tag-wordpress-javascript",""],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/posts\/1972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/comments?post=1972"}],"version-history":[{"count":6,"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/posts\/1972\/revisions"}],"predecessor-version":[{"id":3542,"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/posts\/1972\/revisions\/3542"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/media\/3129"}],"wp:attachment":[{"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/media?parent=1972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/categories?post=1972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.openbyt.com\/ja\/wp-json\/wp\/v2\/tags?post=1972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}