{"id":9237,"date":"2023-02-17T15:11:28","date_gmt":"2023-02-17T08:41:28","guid":{"rendered":"https:\/\/spiceworksmyanmar.com\/blog\/?p=9237"},"modified":"2023-02-17T15:11:28","modified_gmt":"2023-02-17T08:41:28","slug":"javascript-prototype-extension","status":"publish","type":"post","link":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/","title":{"rendered":"JavaScript (Prototype Extension)"},"content":{"rendered":"<p><em>\u1019\u1002\u1064\u101c\u102c\u1015\u102b \u1001\u1004\u1039\u1017\u103a\u104b<\/em><br \/>\n\u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c \u101c\u1000\u1039\u101b\u103d\u102d \u1021\u101c\u102f\u1015\u1039\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u101c\u103a\u1000\u1039 \u101b\u103d\u102d\u1031\u101e\u102c \u1031\u100c\u1038\u1019\u1004\u1039\u1038\u1031\u1001\u102b\u1004\u1039 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101a\u1031\u1014\u1094 blog \u1019\u103d\u102c\u1031\u1010\u102c\u1037 JavaScript Prototype Extension \u1014\u1032\u1094\u1015\u1010\u1039\u101e\u1000\u1039\u107f\u1015\u102e\u1038 \u1021\u1031\u103b\u1001\u1001\u1036 \u1017\u101f\u102f\u101e\u102f\u1010\u1031\u101c\u1038 \u1019\u103d\u103a\u1031\u101d\u1031\u1015\u1038\u1001\u103a\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nJavaScript \u1000\u102d\u102f web developer \u1031\u1010\u102c\u1039\u1031\u1010\u102c\u1039\u1019\u103a\u102c\u1038\u1019\u103a\u102c\u1038 \u1021\u1014\u100a\u1039\u1038\u1014\u1032\u1094 \u1021\u1019\u103a\u102c\u1038\u1031\u1010\u102c\u1037 \u101c\u102f\u1015\u1039\u101b\u1010\u102c \u1019\u103a\u102c\u1038\u1015\u102b\u1010\u101a\u1039\u104b JavaScript Language \u101e\u100a\u1039 Web Development \u1021\u1010\u103c\u1000\u1039 \u1021\u1001\u101b\u102c\u1000\u103a\u1031\u101e\u102c language \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<h4>Object Prototype \u1006\u102d\u102f\u1010\u102c \u1018\u102c\u101c\u1032\u104b<\/h4>\n<p>JavaScript \u1000\u102d\u102f prototype-based language \u101c\u102d\u102f\u1094 \u1031\u1016\u102c\u1039\u103b\u1015\u1031\u101c\u1037 \u101b\u103d\u102d\u1015\u102b\u1010\u101a\u1039\u104b Prototype Chain \u1021\u1031\u1014\u1014\u1032\u1094\u101c\u100a\u1039\u1038 \u1021\u101e\u102f\u1036\u1038\u103b\u1015\u1033\u101c\u102d\u102f\u1094 \u101b\u1015\u102b\u1010\u101a\u1039\u104b Object \u1031\u1010\u103c\u1019\u103d\u102c Properties \u1031\u1010\u103c\u104a Methods \u1031\u1010\u103c\u101b\u103d\u102d\u107f\u1015\u102e\u1038 \u1011\u102d\u102f Properties, Methods \u1031\u1010\u103c\u1000\u1031\u1014\u1010\u1006\u1004\u1039\u1037 \u1021\u103b\u1001\u102c\u1038 object \u1031\u1010\u103c\u1000\u102d\u102f \u1006\u1004\u1039\u1037\u1006\u1004\u1039\u1037\u107f\u1015\u102e\u1038 \u1031\u101b\u1038\u101e\u103c\u102c\u1038\u101c\u102d\u102f\u1094 \u101b\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><em>Prototype Extension<\/em> \u1000\u102d\u102f \u1021\u101b\u1004\u1039 \u101c\u102f\u1015\u1039\u107e\u1000\u100a\u1039\u1037\u1015\u102b\u1019\u101a\u1039\u104b \u1021\u101b\u1004\u1039\u1025\u102e\u1038\u1006\u102f\u1036\u1038 Desktop \u1019\u103d\u102c <strong>JSOOPPrototype<\/strong> \u1006\u102d\u102f\u1010\u1032\u1037 \u1014\u102c\u1019\u100a\u1039\u1014\u1032\u1094 Folder \u1010\u1005\u1039\u1001\u102f\u1000\u102d\u102f \u1031\u1006\u102c\u1000\u1039\u1015\u102b\u1019\u101a\u1039\u104b \u1011\u102d\u102f\u1031\u1014\u102c\u1000\u1039 VSCode IDE \u1011\u1032\u1000\u102d\u102f \u1011\u100a\u1039\u1037\u101c\u102d\u102f\u1000\u1039\u1015\u102b\u1019\u101a\u1039\u104b <em>index.html<\/em>, <em>extensions.js<\/em>, <em>object.js<\/em>, <em>object_func.js<\/em>, <em>class.js<\/em> \u1006\u102d\u102f\u107f\u1015\u102e\u1038 \u1016\u102d\u102f\u1004\u1039 (\u1045) \u1001\u102f \u1031\u1006\u102c\u1000\u1039\u1015\u102b\u1019\u101a\u1039\u104b\u200b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.54.21-PM.png\" alt=\"\" width=\"750\" height=\"470\" class=\"aligncenter size-full wp-image-9247\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.54.21-PM.png 750w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.54.21-PM-300x188.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>\u1011\u102d\u102f\u1094\u200c\u1031\u1014\u102c\u1000\u1039 index.html \u1016\u102d\u102f\u1004\u1039\u1011\u1032\u1010\u103c\u1004\u1039 \u1031\u1021\u102c\u1000\u1039\u1015\u102b Code \u1019\u103a\u102c\u1038\u1000\u102d\u102f \u1011\u100a\u1037\u1039\u1015\u102b\u1019\u101a\u1039\u104b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.55.28-PM-1024x536.png\" alt=\"\" width=\"810\" height=\"424\" class=\"aligncenter size-large wp-image-9249\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.55.28-PM-1024x536.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.55.28-PM-300x157.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.55.28-PM-768x402.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.55.28-PM.png 1300w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u1031\u1006\u102c\u1000\u1039\u1011\u102c\u1038\u1010\u1032\u1037 \u1016\u102d\u102f\u1004\u1039 (\u1045) \u1001\u102f \u1011\u1032\u1000 extension.js \u1000\u102d\u102f VS Code \u1000\u1031\u1014 \u1016\u103c\u1004\u1039\u1037\u1015\u102b\u1019\u101a\u1039\u104b \u1031\u1021\u102c\u1000\u1039\u1000 Code \u1031\u1010\u103c\u1000\u102d\u102f \u1011\u100a\u1039\u1037\u101c\u102d\u102f\u1000\u1039\u1015\u102b\u1019\u101a\u1039\u104b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.57.14-PM-974x1024.png\" alt=\"\" width=\"810\" height=\"852\" class=\"aligncenter size-large wp-image-9252\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.57.14-PM-974x1024.png 974w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.57.14-PM-285x300.png 285w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.57.14-PM-768x807.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-1.57.14-PM.png 1174w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041) \u1000 Comment \u1015\u102b\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042) \u1000\u1031\u1014 (\u1044) \u1021\u1011\u102d\u1000 Function \u1015\u102b\u104b String.prototype.removeSChar \u1006\u102d\u102f\u1010\u102c\u1000 String \u1006\u102d\u102f\u1010\u1032\u1037 Prototype Object \u1000\u102d\u102f removeSChar Methods \u1010\u1005\u1039\u1001\u102f \u1011\u1015\u1039\u1011\u100a\u1037\u1039\u101c\u102d\u102f\u1000\u1039\u1010\u102c\u1015\u102b\u104b return this.split(&#8216;s&#8217;).join(&#8221;); \u1006\u102d\u102f\u1010\u102c\u1000 this \u1006\u102d\u102f\u1010\u102c \u1031\u1015\u1038\u1010\u1032\u1037 value \u1000\u102d\u102f s \u1014\u1032\u1094 \u103b\u1016\u1010\u1039\u107f\u1015\u102e\u1038 &#8221; (single quote) \u108f\u103d\u1005\u1039\u1001\u102f\u1011\u1032\u1019\u103d\u102c \u1018\u102c\u1019\u103d \u1019\u1011\u100a\u1037\u1039\u1011\u102c\u1038\u1010\u1032\u1037\u1021\u1010\u103c\u1000\u1039 s \u1000\u102d\u102f String \u1011\u1032\u1000 \u103b\u1016\u1033\u1010\u1039\u101c\u102d\u102f\u1000\u1039\u1019\u101a\u1039\u1006\u102d\u102f\u1010\u1032\u1037 \u101e\u1031\u1018\u102c\u1015\u102b\u104b<\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1047) \u1000 Object.prototype.sprintf02d \u1000\u1031\u1010\u102c\u1037 Object \u1006\u102d\u102f\u1010\u1032\u1037 (any object) Prototype \u1019\u103d\u102c sprintf02d \u1006\u102d\u102f\u1010\u1032\u1037 Method \u1010\u1005\u1039\u1001\u102f \u1011\u1015\u1039\u1010\u102d\u102f\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u102c\u1015\u102b\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1048) \u1000 return parseInt(this) > 9 ? this.toString() : &#8216;0&#8217; + this; \u1000 parseInt(this) \u1006\u102d\u102f\u1031\u1010\u102c\u1037 \u1031\u1015\u1038\u1019\u101a\u1037\u1039 value \u1000\u102d\u102f integer type \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u107f\u1015\u102e\u1038 \u1049 \u1011\u1000\u1039\u1080\u1000\u102e\u1038\u101c\u103d\u103a\u1004\u1039 \u1021\u1032\u1037\u1021\u1010\u102d\u102f\u1004\u1039\u1038 return \u103b\u1015\u1014\u1039\u107f\u1015\u102e\u1038 \u1049 \u1014\u1032\u1094\u100a\u102e\u101c\u103d\u103a\u1004\u1039 (\u101e\u102d\u102f\u1094) \u1049 \u1031\u1021\u102c\u1000\u1039\u1006\u102d\u102f \u1031\u101b\u103d\u1095\u1019\u103d\u102c \u101e\u102f\u100a \u1011\u100a\u1037\u1039\u1031\u1015\u1038\u107f\u1015\u102e\u1038 return \u103b\u1015\u1014\u1039\u1031\u1015\u1038\u1019\u103d\u102c\u1015\u102b\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1049) \u1021\u1011\u102d\u1000 Function \u1010\u1005\u1039\u1001\u102f \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1042) \u1000 Array.prototype.findInValues \u1006\u102d\u102f\u1010\u102c\u1000\u1031\u1010\u102c\u1037 Array Protype \u1000\u102d\u102f findInValues \u1006\u102d\u102f\u1010\u1032\u1037 Method \u1010\u1005\u1039\u1001\u102f \u1011\u1015\u1039\u1010\u102d\u102f\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u102c\u1015\u102b\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1043) \u1000\u1031\u1014 (\u1042\u1041) \u1000\u1031\u1010\u102c\u1037 \u1031\u1015\u1038\u101c\u102d\u102f\u1000\u1039 Array Values \u1031\u1010\u103c\u1000\u1031\u1014 \u1019\u102d\u1019\u102d \u101b\u103d\u102c\u1001\u103a\u1004\u1039\u1010\u1032\u1037 Values \u1031\u1010\u103c\u1000\u102d\u102f \u101b\u103d\u102c\u1031\u1015\u1038\u1019\u101a\u1037\u1039 Function \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042\u1042) \u1011\u102d \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042\u1044) \u1000 String.prototype.extractUrls \u1000\u1031\u1010\u102c\u1037 String Prototype \u1000\u102d\u102f\u1018\u1032 (\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 \u1042 \u101c\u102d\u102f\u1015\u1032) extractUrls Method \u1010\u102d\u102f\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101e\u1030\u1000\u1031\u1010\u102c\u1037 \u1031\u1015\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u1032\u1037 String \u1005\u102c\u1031\u107e\u1000\u102c\u1004\u1039\u1038\u1011\u1032\u1000\u1031\u1014 URLs \u1031\u1010\u103c\u1000 \u1005\u1005\u1039\u1011\u102f\u1010\u1039\u1031\u1015\u1038\u1019\u103d\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b Regular Expression \u1015\u102f\u1036\u1005\u1036\u1014\u1032\u1094 \u1031\u101b\u1038\u1011\u102c\u1038\u1010\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042\u1046) \u1021\u1011\u102d \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042\u1048) \u1000 Number.prototype.getRandomWithin \u1006\u102d\u102f\u1010\u102c\u1031\u1010\u102c\u1037 Number \u1006\u102d\u102f\u1010\u1032\u1037 Prototype \u1019\u103d\u102c getRandomWithin \u1006\u102d\u102f\u1010\u1032\u1037 Method \u1010\u1005\u1039\u1001\u102f \u1011\u1015\u1039\u1031\u1015\u102b\u1004\u1039\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b getRandomWithin \u1000\u1031\u1010\u102c\u1037 \u1031\u1015\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u1032\u1037 Value \u1011\u1032\u1000\u1031\u1014 Random Value \u1010\u1005\u1039\u1001\u102f\u1000\u102d\u102f \u1011\u102f\u1010\u1039\u1031\u1015\u1038\u1019\u103d\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1043\u1040) \u1000 Function \u1021\u1006\u102f\u1036\u1038 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p>\u1021\u1001\u102f\u1006\u102d\u102f\u101c\u103d\u103a\u1004\u1039 extension.js \u1019\u103d\u102c Protype Extension \u1031\u1010\u103c sample \u1021\u1031\u1014\u1014\u1032\u1094 (\u1045) \u1001\u102f \u1011\u100a\u1039\u1037\u107f\u1015\u102e\u1038\u1015\u102b\u107f\u1015\u102e\u104b \u1006\u102d\u102f\u1031\u1010\u102c\u1037 Code \u1000\u102d\u102f \u107e\u1000\u100a\u1039\u1037\u1019\u101a\u1039\u1006\u102d\u102f [Type].prototype.[Method Name] \u1006\u102d\u102f\u1010\u1032\u1037 \u1015\u102f\u1036\u1005\u1036\u1019\u103a\u102d\u1033\u1038\u1014\u1032\u1094 \u1031\u101b\u1038\u101e\u103c\u102c\u1038\u1010\u102c\u1000\u102d\u102f \u1031\u1010\u103c\u1095\u1019\u102d\u1015\u102b\u101c\u102d\u1019\u1037\u1039\u1019\u101a\u1039\u104b Object Type \u1010\u1005\u1039\u1001\u102f\u1000\u102d\u102f Method Extend \u101c\u102f\u1015\u1039\u1010\u1032\u1037\u1021\u1001\u102b \u1021\u1032\u1037\u1015\u102f\u1036\u1005\u1036\u1021\u1010\u102d\u102f\u1004\u1039\u1038 \u1031\u101b\u1038\u101e\u103c\u102c\u1038\u101c\u102d\u102f\u1094 \u101b\u1015\u102b\u1010\u101a\u1039\u104b \u1021\u1001\u102f\u1006\u102d\u102f\u101c\u103d\u103a\u1004\u1039 Code \u1019\u103d\u102c \u101c\u1000\u1039\u1031\u1010\u103c\u1095 \u101e\u102f\u1036\u1038\u107e\u1000\u100a\u1039\u1037\u1015\u102b\u1019\u101a\u1039\u104b index.html \u1000\u102d\u102f Browser \u1019\u103d\u102c \u1016\u103c\u1004\u1039\u1037\u1015\u102b\u1019\u101a\u1039\u104b index.html \u1000\u102d\u102f \u1015\u102f\u1036\u1019\u103d\u1014\u1039\u1021\u1010\u102d\u102f\u1004\u1039\u1038 double-click \u108f\u103d\u102d\u1015\u1039\u101c\u102d\u102f\u1000\u1039\u101c\u103d\u103a\u1004\u1039 \u101b\u1015\u102b\u107f\u1015\u102e\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.15.29-PM-1024x260.png\" alt=\"\" width=\"810\" height=\"206\" class=\"aligncenter size-large wp-image-9256\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.15.29-PM-1024x260.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.15.29-PM-300x76.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.15.29-PM-768x195.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.15.29-PM.png 1080w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><br \/>\nJavaScript \u103b\u1016\u1005\u1039\u1010\u1032\u1037\u1021\u1010\u103c\u1000\u1039 Console \u1000\u102d\u102f \u1016\u103c\u1004\u1039\u1037\u1011\u102c\u1038\u1016\u102d\u102f\u1094 \u101c\u102d\u102f\u1015\u102b\u1019\u101a\u1039\u104b Browser Screen \u1019\u103d\u102c \u1018\u102c\u1019\u103d \u103b\u1019\u1004\u1039\u101b\u1019\u103d\u102c \u1019\u101f\u102f\u1010\u1039\u1015\u102b\u1018\u1030\u1038\u104b Console \u1016\u103c\u1004\u1039\u1037\u1016\u102d\u102f\u1094\u1021\u1010\u103c\u1000\u1039 \u1001\u102f\u1014\u1000 \u1016\u103c\u1004\u1039\u1037\u1011\u102c\u1038\u1010\u1032\u1037 \u1021\u103b\u1016\u1034 Screen \u1000\u102d\u102f Right-Click \u108f\u103d\u102d\u1015\u1039\u107f\u1015\u102e\u1038 Inspect \u1000\u102d\u102f \u108f\u103d\u102d\u1015\u1039\u1015\u102b\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.16.46-PM.png\" alt=\"\" width=\"652\" height=\"694\" class=\"aligncenter size-full wp-image-9257\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.16.46-PM.png 652w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.16.46-PM-282x300.png 282w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/p>\n<p>\u1031\u1021\u102c\u1000\u1039\u1000 \u1015\u102f\u1036\u1000\u1031\u1014 Console \u1000\u102d\u102f \u108f\u103d\u102d\u1015\u1039\u1015\u102b\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.18.05-PM-1024x246.png\" alt=\"\" width=\"810\" height=\"195\" class=\"aligncenter size-large wp-image-9258\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.18.05-PM-1024x246.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.18.05-PM-300x72.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.18.05-PM-768x184.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.18.05-PM.png 1084w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u1011\u102d\u102f\u1094\u200c\u1031\u1014\u102c\u1000\u1039 VS Code \u1000\u102d\u102f \u101e\u103c\u102c\u1038\u107f\u1015\u102e\u1038 \u1031\u1021\u102c\u1000\u1039\u1000 Code \u1019\u103a\u102c\u1038\u1000\u102d\u102f \u1011\u100a\u1037\u1039\u1015\u102b\u1019\u101a\u1039\u104b \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1044) \u1000\u1031\u1014 (\u1042\u1041) \u1021\u1011\u102d Code \u1021\u101e\u1005\u1039 \u1011\u1015\u1039\u1011\u100a\u1039\u1037\u1015\u102b\u1019\u101a\u1039\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.20.04-PM-1024x592.png\" alt=\"\" width=\"810\" height=\"468\" class=\"aligncenter size-large wp-image-9260\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.20.04-PM-1024x592.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.20.04-PM-300x173.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.20.04-PM-768x444.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.20.04-PM.png 1544w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1044) \u1000 script Tag \u1010\u1005\u1039\u1001\u102f \u1016\u103c\u1004\u1039\u1037\u101c\u102d\u102f\u1000\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\n\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1045) \u1019\u103d\u102c console.log(&#8216;GoodGames&#8217;.toLocaleLowerCase().removeSChar()); \u1000\u1031\u1010\u102c\u1037 GoodGames \u1006\u102d\u102f\u1010\u1032\u1037 String \u1000\u102d\u102f toLocaleLowerCase() \u1006\u102d\u102f\u1010\u102c\u1000 JavaScript \u1019\u103d\u102c Default \u1021\u1031\u1014\u1014\u1032\u1094\u1015\u102b\u1010\u1032\u1037 Method \u1010\u1005\u1039\u1001\u102f \u103b\u1016\u1005\u1039\u107f\u1015\u102e\u1038 String \u1000\u102d\u102f \u1005\u1000\u102c\u1038\u101c\u102f\u1036\u1038\u1031\u1010\u103c\u1000\u102d\u102f Alphabet \u1021\u1031\u101e\u1038 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u102c\u1015\u102b\u104b \u1011\u102d\u102f\u1031\u1014\u102c\u1000\u1039 .removeSChar() \u1006\u102d\u102f\u107f\u1015\u102e\u1038 \u1001\u102f\u1014\u1000 extension.js \u1000 \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042) \u1000 Method \u1000\u102d\u102f \u1011\u100a\u1039\u1037\u101c\u102d\u102f\u1000\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u1031\u1021\u102c\u1000\u1039\u1000\u101c\u102d\u102f goodgame \u1006\u102d\u102f\u107f\u1015\u102e\u1038 Console Screen \u1019\u103d\u102c \u1031\u1015\u105a\u101c\u102c\u1015\u102b\u1019\u101a\u1039\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.23.57-PM-1024x45.png\" alt=\"\" width=\"810\" height=\"36\" class=\"aligncenter size-large wp-image-9261\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.23.57-PM-1024x45.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.23.57-PM-300x13.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.23.57-PM-768x34.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.23.57-PM.png 1042w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1046) \u1000 console.log(&#8217;10&#8217;.sprintf02d()); \u1006\u102d\u102f\u1010\u102c\u1000 10 \u1006\u102d\u102f\u1010\u1032\u1037 String \u1000\u102d\u102f extension.js File \u1011\u1032\u1000 \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1047) \u1000\u102d\u102f \u1021\u101e\u102f\u1036\u1038\u103b\u1015\u1033\u1011\u102c\u1038\u1010\u102c\u1015\u102b\u104b 10 \u1000\u102d\u102f integer \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u102d\u102f\u1000\u1039\u1031\u1010\u102c\u1037 \u1049 \u1011\u1000\u1039\u1080\u1000\u102e\u1038\u101c\u102d\u102f\u1094 10 \u1018\u1032 Console \u1019\u103d\u102c \u103b\u1015\u1014\u1039\u1031\u1015\u105a\u1015\u102b\u1019\u101a\u1039\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.26.18-PM-1024x45.png\" alt=\"\" width=\"810\" height=\"36\" class=\"aligncenter size-large wp-image-9262\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.26.18-PM-1024x45.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.26.18-PM-300x13.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.26.18-PM-768x34.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.26.18-PM.png 1048w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u1021\u1000\u101a\u1039\u104d 10 \u1031\u1014\u101b\u102c\u1019\u103d\u102c 9 \u101c\u102d\u102f\u1094 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u102d\u102f\u1000\u1039\u1019\u101a\u1039\u1006\u102d\u102f\u101c\u103d\u103a\u1004\u1039\u1031\u1010\u102c\u1037 09 \u101c\u102d\u102f\u1094 \u103b\u1015\u1015\u102b\u1019\u101a\u1039\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.27.18-PM-1024x49.png\" alt=\"\" width=\"810\" height=\"39\" class=\"aligncenter size-large wp-image-9263\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.27.18-PM-1024x49.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.27.18-PM-300x14.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.27.18-PM-768x37.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.27.18-PM.png 1038w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1048) \u1000 console.log([ &#8216;Apple&#8217;, &#8216;Dog&#8217;, &#8216;Rat&#8217;, &#8216;Rabbit&#8217;].findInValues([ &#8216;do&#8217;, &#8216;ap&#8217; ])) \u1000\u1031\u1010\u102c\u1037 Apple, Dog, Rat, Rabbit \u1006\u102d\u102f\u1010\u1032\u1037 \u1005\u1000\u102c\u1038\u101c\u102f\u1036\u1038 (\u1044) \u101c\u102f\u1036\u1038\u1011\u1032\u1000 do, ap \u1006\u102d\u102f\u1010\u1032\u1037 \u1005\u1000\u102c\u1038\u101c\u102f\u1036\u1038\u1015\u102b\u1010\u1032\u1037 \u1005\u1000\u102c\u1038\u101c\u102f\u1036\u1038\u1031\u1010\u103c\u1000\u102d\u102f \u1031\u1090\u103c\u1038\u1011\u102f\u1010\u1039\u1031\u1015\u1038\u1019\u103d\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b extension.js File \u1011\u1032\u1000 \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1041\u1042) \u1000 Array.prototype.findInValues \u1000\u102d\u102f \u103b\u1015\u1014\u1039\u1021\u101e\u102f\u1036\u1038\u103b\u1015\u1033\u1011\u102c\u1038\u1010\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b Apple \u1014\u1032\u1094 Dog \u108f\u103d\u1005\u1039\u1001\u102f\u1000\u102d\u102f Console \u1019\u103d\u102c \u103b\u1015\u1015\u102b\u101c\u102d\u1019\u1037\u1039\u1019\u101a\u1039\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.30.05-PM-1024x170.png\" alt=\"\" width=\"810\" height=\"134\" class=\"aligncenter size-large wp-image-9264\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.30.05-PM-1024x170.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.30.05-PM-300x50.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.30.05-PM-768x128.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.30.05-PM.png 1072w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042\u1040) \u1000 console.log(&#8216;http:\/\/facebook.com is Facebook. https:\/\/ttw.com is TTW&#8217;.extractUrls()) \u1000\u1031\u1010\u102c\u1037 \u1031\u1015\u1038\u1011\u102c\u1038\u1010\u1032\u1037 \u1005\u102c\u101c\u102f\u1036\u1038\u1031\u1010\u103c\u1011\u1032\u1000 URL \u1031\u1010\u103c\u1000\u102d\u102f \u1005\u1005\u1039\u1011\u102f\u1010\u1039\u1010\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b extension.js File \u1011\u1032\u1000 \u101c\u102d\u102f\u1004\u1039\u1038\u1014\u1036\u1015\u102b\u1010\u1039 (\u1042\u1044) \u1000 String.prototype.extractUrls Method \u1000\u102d\u102f \u101e\u102f\u1036\u1038\u101c\u102d\u102f\u1000\u1039\u1010\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b http:\/\/facebook.com, https:\/\/ttw.com \u1006\u102d\u102f\u1010\u1032\u1037 URL \u108f\u103d\u1005\u1039\u1001\u102f\u101b\u1015\u102b\u1019\u101a\u1039\u104b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.33.14-PM-1024x172.png\" alt=\"\" width=\"810\" height=\"136\" class=\"aligncenter size-large wp-image-9267\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.33.14-PM-1024x172.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.33.14-PM-300x50.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.33.14-PM-768x129.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/Screen-Shot-2023-02-13-at-2.33.14-PM.png 1074w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/p>\n<p>\u1021\u1001\u102f\u101c\u102d\u102f \u1021\u1001\u103a\u102d\u1014\u1039\u1031\u1015\u1038 \u1016\u1010\u1039\u101b\u1088\u1031\u1015\u1038\u1010\u1032\u1037\u1021\u1010\u103c\u1000\u1039 \u1031\u1000\u103a\u1038\u1007\u1030\u1038\u1010\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b JavaScript Prototype Extension \u1014\u1032\u1094 \u1015\u1010\u1039\u101e\u1000\u1039\u107f\u1015\u102e\u1038 \u1021\u1031\u103b\u1001\u1001\u1036 \u101e\u102d\u101b\u103d\u102d\u101e\u103c\u102c\u1038\u101c\u102d\u1019\u1039\u1037\u1019\u101a\u1039\u101c\u102d\u102f\u1094 \u1031\u1019\u103d\u103a\u102c\u1039\u101c\u1004\u1039\u1037\u101b\u1004\u1039\u1038 blog \u1031\u101c\u1038\u1000\u102d\u102f \u1021\u1006\u102f\u1036\u1038\u101e\u1010\u1039\u101c\u102d\u102f\u1000\u1039\u1015\u102b\u1019\u101a\u1039\u104b \u1031\u1014\u102c\u1000\u1039\u1019\u103a\u102c\u1038\u1019\u103d\u102c\u101c\u100a\u1039\u1038 \u1021\u103b\u1001\u102c\u1038 \u1017\u101f\u102f\u101e\u102f\u1010\u1014\u1032\u1094 \u1006\u102d\u102f\u1004\u1039\u1031\u101e\u102c blog \u1019\u103a\u102c\u1038 \u1006\u1000\u1039\u101c\u1000\u1039\u1031\u101b\u1038\u101e\u102c\u1038\u1031\u1015\u1038\u101e\u103c\u102c\u1038\u1019\u100a\u1039\u103b\u1016\u1005\u1039\u101e\u100a\u1039\u1037\u1021\u1010\u103c\u1000\u1039 \u1031\u1005\u102c\u1004\u1039\u1037\u1031\u1019\u103d\u103a\u102c\u1039\u1031\u1015\u1038\u1016\u102d\u102f\u1094 \u1031\u1019\u1010\u1071\u102c\u101b\u1015\u1039\u1001\u1036\u1001\u103a\u1004\u1039\u1015\u102b\u1010\u101a\u1039 \u1001\u1004\u1039\u1017\u103a\u104b \u101e\u102c\u101a\u102c\u1031\u101e\u102c \u1031\u1014\u1094\u101e\u1005\u1039\u1031\u101c\u1038 \u103b\u1016\u1005\u1039\u107e\u1000\u1015\u102b\u1031\u1005\u1001\u1004\u1039\u1017\u103a\u104b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u1019\u1002\u1064\u101c\u102c\u1015\u102b \u1001\u1004\u1039\u1017\u103a\u104b \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c \u101c\u1000\u1039\u101b\u103d\u102d \u1021\u101c\u102f\u1015\u1039\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u101c\u103a\u1000\u1039 \u101b\u103d\u102d\u1031\u101e\u102c \u1031\u100c\u1038\u1019\u1004\u1039\u1038\u1031\u1001\u102b\u1004\u1039 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101a\u1031\u1014\u1094 blog \u1019\u103d\u102c\u1031\u1010\u102c\u1037 JavaScript Prototype Extension \u1014\u1032\u1094\u1015\u1010\u1039\u101e\u1000\u1039\u107f\u1015\u102e\u1038 \u1021\u1031\u103b\u1001\u1001\u1036 \u1017\u101f\u102f\u101e\u102f\u1010\u1031\u101c\u1038<\/p>\n","protected":false},"author":18,"featured_media":9269,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript (Prototype Extension) - Web Development &amp; Tech Blog | Spiceworks Myanmar<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript (Prototype Extension) - Web Development &amp; Tech Blog | Spiceworks Myanmar\" \/>\n<meta property=\"og:description\" content=\"\u1019\u1002\u1064\u101c\u102c\u1015\u102b \u1001\u1004\u1039\u1017\u103a\u104b \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c \u101c\u1000\u1039\u101b\u103d\u102d \u1021\u101c\u102f\u1015\u1039\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u101c\u103a\u1000\u1039 \u101b\u103d\u102d\u1031\u101e\u102c \u1031\u100c\u1038\u1019\u1004\u1039\u1038\u1031\u1001\u102b\u1004\u1039 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101a\u1031\u1014\u1094 blog \u1019\u103d\u102c\u1031\u1010\u102c\u1037 JavaScript Prototype Extension \u1014\u1032\u1094\u1015\u1010\u1039\u101e\u1000\u1039\u107f\u1015\u102e\u1038 \u1021\u1031\u103b\u1001\u1001\u1036 \u1017\u101f\u102f\u101e\u102f\u1010\u1031\u101c\u1038\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Development &amp; Tech Blog | Spiceworks Myanmar\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-17T08:41:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/cover_js_prototype.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"366\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Htay Min Khaung\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Htay Min Khaung\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/\"},\"author\":{\"name\":\"Htay Min Khaung\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#\\\/schema\\\/person\\\/0e96b2a8e98976eb94e3b879a49368bd\"},\"headline\":\"JavaScript (Prototype Extension)\",\"datePublished\":\"2023-02-17T08:41:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/\"},\"wordCount\":260,\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/cover_js_prototype.jpeg\",\"articleSection\":[\"System\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/\",\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/\",\"name\":\"JavaScript (Prototype Extension) - Web Development &amp; Tech Blog | Spiceworks Myanmar\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/cover_js_prototype.jpeg\",\"datePublished\":\"2023-02-17T08:41:28+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#\\\/schema\\\/person\\\/0e96b2a8e98976eb94e3b879a49368bd\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/cover_js_prototype.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/cover_js_prototype.jpeg\",\"width\":700,\"height\":366},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/javascript-prototype-extension\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript (Prototype Extension)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/\",\"name\":\"Web Development &amp; Tech Blog | Spiceworks Myanmar\",\"description\":\"Read Spiceworks Myanmar\u2019s blog on web development, design trends, and IT solutions. Stay informed with tips and insights from our experienced developers.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#\\\/schema\\\/person\\\/0e96b2a8e98976eb94e3b879a49368bd\",\"name\":\"Htay Min Khaung\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0697c0cb49e0203cb9497435e051d6c348108eab81dfdc0eead8042fff1511be?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0697c0cb49e0203cb9497435e051d6c348108eab81dfdc0eead8042fff1511be?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0697c0cb49e0203cb9497435e051d6c348108eab81dfdc0eead8042fff1511be?s=96&d=mm&r=g\",\"caption\":\"Htay Min Khaung\"},\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/author\\\/htay-min-khaung\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript (Prototype Extension) - Web Development &amp; Tech Blog | Spiceworks Myanmar","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript (Prototype Extension) - Web Development &amp; Tech Blog | Spiceworks Myanmar","og_description":"\u1019\u1002\u1064\u101c\u102c\u1015\u102b \u1001\u1004\u1039\u1017\u103a\u104b \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c \u101c\u1000\u1039\u101b\u103d\u102d \u1021\u101c\u102f\u1015\u1039\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u101c\u103a\u1000\u1039 \u101b\u103d\u102d\u1031\u101e\u102c \u1031\u100c\u1038\u1019\u1004\u1039\u1038\u1031\u1001\u102b\u1004\u1039 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101a\u1031\u1014\u1094 blog \u1019\u103d\u102c\u1031\u1010\u102c\u1037 JavaScript Prototype Extension \u1014\u1032\u1094\u1015\u1010\u1039\u101e\u1000\u1039\u107f\u1015\u102e\u1038 \u1021\u1031\u103b\u1001\u1001\u1036 \u1017\u101f\u102f\u101e\u102f\u1010\u1031\u101c\u1038","og_url":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/","og_site_name":"Web Development &amp; Tech Blog | Spiceworks Myanmar","article_published_time":"2023-02-17T08:41:28+00:00","og_image":[{"width":700,"height":366,"url":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/cover_js_prototype.jpeg","type":"image\/jpeg"}],"author":"Htay Min Khaung","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Htay Min Khaung","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/#article","isPartOf":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/"},"author":{"name":"Htay Min Khaung","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#\/schema\/person\/0e96b2a8e98976eb94e3b879a49368bd"},"headline":"JavaScript (Prototype Extension)","datePublished":"2023-02-17T08:41:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/"},"wordCount":260,"image":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/cover_js_prototype.jpeg","articleSection":["System"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/","url":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/","name":"JavaScript (Prototype Extension) - Web Development &amp; Tech Blog | Spiceworks Myanmar","isPartOf":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/#primaryimage"},"image":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/cover_js_prototype.jpeg","datePublished":"2023-02-17T08:41:28+00:00","author":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#\/schema\/person\/0e96b2a8e98976eb94e3b879a49368bd"},"breadcrumb":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/#primaryimage","url":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/cover_js_prototype.jpeg","contentUrl":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2023\/02\/cover_js_prototype.jpeg","width":700,"height":366},{"@type":"BreadcrumbList","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/javascript-prototype-extension\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.spiceworksmyanmar.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript (Prototype Extension)"}]},{"@type":"WebSite","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#website","url":"https:\/\/www.spiceworksmyanmar.com\/blog\/","name":"Web Development &amp; Tech Blog | Spiceworks Myanmar","description":"Read Spiceworks Myanmar\u2019s blog on web development, design trends, and IT solutions. Stay informed with tips and insights from our experienced developers.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.spiceworksmyanmar.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#\/schema\/person\/0e96b2a8e98976eb94e3b879a49368bd","name":"Htay Min Khaung","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0697c0cb49e0203cb9497435e051d6c348108eab81dfdc0eead8042fff1511be?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0697c0cb49e0203cb9497435e051d6c348108eab81dfdc0eead8042fff1511be?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0697c0cb49e0203cb9497435e051d6c348108eab81dfdc0eead8042fff1511be?s=96&d=mm&r=g","caption":"Htay Min Khaung"},"url":"https:\/\/www.spiceworksmyanmar.com\/blog\/author\/htay-min-khaung\/"}]}},"_links":{"self":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts\/9237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/comments?post=9237"}],"version-history":[{"count":28,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts\/9237\/revisions"}],"predecessor-version":[{"id":9281,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts\/9237\/revisions\/9281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/media\/9269"}],"wp:attachment":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/media?parent=9237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/categories?post=9237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/tags?post=9237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}