{"id":5769,"date":"2021-03-26T13:08:18","date_gmt":"2021-03-26T13:08:18","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=5769"},"modified":"2021-03-26T13:08:18","modified_gmt":"2021-03-26T13:08:18","slug":"built-in-predefined-methods-in-javascript","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/","title":{"rendered":"Built-in\/Predefined Methods in JavaScript"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In JavaScript, however, a\u00a0<em>method<\/em>\u00a0is a\u00a0<strong>function<\/strong>\u00a0that belongs to an\u00a0<strong><em>object<\/em><\/strong>. A JavaScript\u00a0<strong>method<\/strong>\u00a0is a property containing a\u00a0<strong>function definition<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is a long list of Built-in or pre-defined methods in JavaScript<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"> <strong>Maths Methods in JavaScript<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" start=\"12\"><li>min() ->Returns the smallest of zero or more numbers.<\/li><li>pow() ->Returns base to the exponent power, that is, base exponent.<\/li><li>abs() ->Returns the absolute value of a number.<\/li><li>acos() ->Returns the arccosine (in radians) of a number.<\/li><li>asin() ->Returns the arcsine (in radians) of a number.<\/li><li>sin() ->Returns the sine of a number.<\/li><li>sqrt() ->Returns the square root of a number.<\/li><li>tan() ->Returns the tangent of a number.<\/li><li>atan() ->Returns the arctangent (in radians) of a number.<\/li><li>atan2() ->Returns the arctangent of the quotient of its arguments.<\/li><li>exp() ->Returns EN, where N is the argument, and E is Euler&#8217;s constant, the base of the natural logarithm.<\/li><li>floor() ->Returns the largest integer less than or equal to a number.<\/li><li>log() ->Returns the natural logarithm (base E) of a number.<\/li><li>max() ->Returns the largest of zero or more numbers.<\/li><li>ceil() ->Returns the smallest integer greater than or equal to a number.<\/li><li>cos() ->Returns the cosine of a number.<\/li><li>random() ->Returns a pseudo-random number between 0 and 1.<\/li><li>round() ->Returns the value of a number rounded to the nearest integer.<\/li><li>toSource() ->Returns the string &#8220;Math&#8221;.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Boolean Methods in JavaScript<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>toString() ->Returns a string of either &#8220;true&#8221; or &#8220;false&#8221; depending upon the value of the object.<\/li><li>toSource() ->Returns a string containing the source of the Boolean object; you can use this string to create an equivalent object.<\/li><li>valueOf() ->Returns the primitive value of the Boolean object.<\/li><\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>String Methods in JavaScript<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>length() ->Returns the length of the string.<\/li><li>search() ->Executes the search for a match between a regular expression and a specified string.<\/li><li>split() ->Splits a String object into an array of strings by separating the string into substrings.<\/li><li>lastIndexOf() ->Returns the index within the calling String object of the last occurrence of the specified value, or -1 if not found.<\/li><li>charAt() ->Returns the character at the specified index.<\/li><li>match() ->Used to match a regular expression against a string.<\/li><li>charCodeAt() ->Returns a number indicating the Unicode value of the character at the given index.<\/li><li>concat()-Combines the text of two strings and returns a new string.<\/li><li>replace() ->Used to find a match between a regular expression and a string and to replace the matched substring with a new substring.<\/li><li>substr() ->Returns the characters in a string beginning at the specified location through the specified number of characters.<\/li><li>toLowerCase() ->Returns the calling string value converted to lower case.<\/li><li>toString() ->Returns a string representing the specified object.<\/li><li>toUpperCase() ->Returns the calling string value converted to uppercase.<\/li><li>valueOf() ->Returns the primitive value of the specified object.<\/li><li>toLocaleLowerCase() ->The characters within a string are converted to lower case while respecting the current locale.<\/li><li>toLocaleUpperCase() ->The characters within a string are converted to the upper case while respecting the current locale.<\/li><li>substring() ->Returns the characters in a string between two indexes into the string.<\/li><\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Array Methods in JavaScript<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>every() ->Returns true if every element in this array satisfies the provided testing function.<\/li><li>reduce() ->Apply a function simultaneously against two values of the array (from left-to-right) as to reduce it to a single value.<\/li><li>filter() ->Creates a new array with all of the elements of this array for which the provided filtering function returns true.<\/li><li>forEach() ->Calls a function for each element in the array.<\/li><li>indexOf() ->Returns the first (least) index of an element within the array equal to the specified value, or -1 if none is found.<\/li><li>join() ->Joins all elements of an array into a string.<\/li><li>slice() ->Extracts a section of an array and returns a new array.<\/li><li>some() ->Returns true if at least one element in this array satisfies the provided testing function.<\/li><li>toSource() ->Represents the source code of an object<\/li><li>lastIndexOf() ->Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if none is found.<\/li><li>map() ->Creates a new array with the results of calling a provided function on every element in this array.<\/li><li>reduceRight() ->Apply a function simultaneously against two values of the array (from right-to-left) as to reduce it to a single value.<\/li><li>reverse() ->Reverses the order of the elements of an array &#8212; the first becomes the last, and the last becomes the first.<\/li><li>shift() ->Removes the first element from an array and returns that element.<\/li><li>sort() ->Sorts the elements of an array.<\/li><li>splice() ->Adds and\/or removes elements from an array.<\/li><li>toString() ->Returns a string representing the array and its elements.<\/li><li>pop() ->Removes the last element from an array and returns that element.<\/li><li>push()->Adds one or more elements to the end of an array and returns the new length of the array.<\/li><\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Date Methods in JavaScript<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" start=\"10\"><li>getTime() ->Returns the numeric value of the specified date as the number of milliseconds since January 1, 1970, 00:00:00 UTC.<\/li><li>setTime() ->Sets the Date object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.<\/li><li>getTimezoneOffset() ->Returns the time-zone offset in minutes for the current locale.<\/li><li>getUTCDate() ->Returns the day (date) of the month in the specified date according to universal time.<\/li><li>setUTCDate() ->Sets the day of the month for a specified date according to universal time.<\/li><li>getUTCDay() ->Returns the day of the week in the specified date according to universal time.<\/li><li>getUTCFullYear() ->Returns the year in the specified date according to universal time.<\/li><li>getUTCHours() ->Returns the hours in the specified date according to universal time.<\/li><li>getUTCMilliseconds() ->Returns the milliseconds in the specified date according to universal time.<\/li><li>getUTCMinutes() ->Returns the minutes in the specified date according to universal time.<\/li><li>getUTCMonth() ->Returns the month in the specified date according to universal time.<\/li><li>getUTCSeconds() ->Returns the seconds in the specified date according to universal time.<\/li><li>getYear() ->Deprecated &#8211; Returns the year in the specified date according to local time. Use getFullYear instead.<\/li><li>setYear() ->Deprecated &#8211; Sets the year for a specified date according to local time. Use setFullYear instead.<\/li><li>setDate() ->Sets the day of the month for a specified date according to local time.<\/li><li>getDate() ->Returns the day of the month for the specified date according to local time.<\/li><li>setFullYear() ->Sets the full year for a specified date according to local time.<\/li><li>setHours() ->Sets the hours for a specified date according to local time.<\/li><li>setMilliseconds() ->Sets the milliseconds for a specified date according to local time.<\/li><li>setMinutes() ->Sets the minutes for a specified date according to local time.<\/li><li>getMonth() ->Returns the month in the specified date according to local time.<\/li><li>setMonth() ->Sets the month for a specified date according to local time.<\/li><li>getSeconds() ->Returns the seconds in the specified date according to local time.<\/li><li>setSeconds() ->Sets the seconds for a specified date according to local time.<\/li><li>setUTCFullYear() ->Sets the full year for a specified date according to universal time.<\/li><li>setUTCHours() ->Sets the hour for a specified date according to universal time.<\/li><li>setUTCMilliseconds() ->Sets the milliseconds for a specified date according to universal time.<\/li><li>setUTCMinutes() ->Sets the minutes for a specified date according to universal time.<\/li><li>setUTCMonth() ->Sets the month for a specified date according to universal time.<\/li><li>setUTCSeconds() ->Sets the seconds for a specified date according to universal time.<\/li><li>toDateString() ->Returns the &#8220;date&#8221; portion of the Date as a human-readable string.<\/li><li>toGMTString() ->Deprecated &#8211; Converts a date to a string, using the Internet GMT conventions. Use toUTCString instead.<\/li><li>toString() ->Returns a string representing the specified Date object.<\/li><li>toTimeString() ->Returns the &#8220;time&#8221; portion of the Date as a human-readable string.<\/li><li>valueOf() ->Returns the primitive value of a Date object.<\/li><li>Date() ->Returns today&#8217;s date and time<\/li><li>getDay() ->Returns the day of the week for the specified date according to local time.<\/li><li>getFullYear() ->Returns the year of the specified date according to local time.<\/li><li>toLocaleDateString() ->Returns the &#8220;date&#8221; portion of the Date as a string, using the current locale&#8217;s conventions.<\/li><li>toLocaleFormat() ->Converts a date to a string, using a format string.<\/li><li>toLocaleTimeString() ->Returns the &#8220;time&#8221; portion of the Date as a string, using the current locale&#8217;s conventions.<\/li><li>getHours() ->Returns the hour in the specified date according to local time.<\/li><li>getMilliseconds() ->Returns the milliseconds in the specified date according to local time.<\/li><li>getMinutes() ->Returns the minutes in the specified date according to local time.<\/li><\/ul>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\" id=\"block-dbae201a-7ac0-44b9-b1a0-230fd3d6e588\"><strong>Few important links for learning:-<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" id=\"block-3992be7e-1858-42f7-ae24-fc56f840b637\"><li>Want to know the difference between <strong>Function <\/strong>and <strong>Method <\/strong>in JavaScript? Just click&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/difference-between-function-and-method-in-javascript\/\" target=\"_blank\">here<\/a>.<\/li><li>Want to know what is&nbsp;<strong>function<\/strong>&nbsp;and how to use them in JavaScript? Just click&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/function-in-javascript\/\" target=\"_blank\">here<\/a>.<\/li><li>Want to know what are&nbsp;<strong>variables&nbsp;<\/strong>and how to use them in JavaScript? Just click&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/variables-in-javascript-var-let-const\/\" target=\"_blank\">here<\/a>.<\/li><li>Let\u2019s see an example for <strong>User form validation<\/strong> in JavaScript. click&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/registration-form-validation-using-javascript\/\" target=\"_blank\">here<\/a>.<\/li><li>Let\u2019s<strong> understand JavaScript<\/strong>. what and how? click&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.scmgalaxy.com\/tutorials\/a-brief-description-of-javascript\/\" target=\"_blank\">here<\/a>.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In JavaScript, however, a\u00a0method\u00a0is a\u00a0function\u00a0that belongs to an\u00a0object. A JavaScript\u00a0method\u00a0is a property containing a\u00a0function definition. There is a long list [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[16,156],"tags":[5182,5184,5146,5166,5183],"class_list":["post-5769","post","type-post","status-publish","format-standard","hentry","category-javascript","category-websites","tag-buildin-function-in-javascript","tag-built-in-predefined-methods-in-javascript","tag-function-types-in-javascript","tag-functions-in-javascript","tag-predefined-function-in-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Built-in\/Predefined Methods in JavaScript - scmGalaxy<\/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.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Built-in\/Predefined Methods in JavaScript - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"In JavaScript, however, a\u00a0method\u00a0is a\u00a0function\u00a0that belongs to an\u00a0object. A JavaScript\u00a0method\u00a0is a property containing a\u00a0function definition. There is a long list [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-26T13:08:18+00:00\" \/>\n<meta name=\"author\" content=\"abhishek k\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"abhishek k\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/\"},\"author\":{\"name\":\"abhishek k\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/143500a93b88a96d3c9602b3df804cb6\"},\"headline\":\"Built-in\\\/Predefined Methods in JavaScript\",\"datePublished\":\"2021-03-26T13:08:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/\"},\"wordCount\":1560,\"commentCount\":0,\"keywords\":[\"buildin function in javascript\",\"Built-in\\\/Predefined Methods in JavaScript\",\"function types in javascript\",\"functions in javascript\",\"predefined function in javascript\"],\"articleSection\":[\"JavaScript\",\"Websites\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/\",\"name\":\"Built-in\\\/Predefined Methods in JavaScript - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-03-26T13:08:18+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/143500a93b88a96d3c9602b3df804cb6\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/built-in-predefined-methods-in-javascript\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Built-in\\\/Predefined Methods in JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/143500a93b88a96d3c9602b3df804cb6\",\"name\":\"abhishek k\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g\",\"caption\":\"abhishek k\"},\"description\":\"Abhishek is a full-stack developer that provides the solution for the design and analysis of Website and Mobile Application. Expertise in HTML, CSS, JAVASCRIPT, LARAVEL.\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/abhishek\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Built-in\/Predefined Methods in JavaScript - scmGalaxy","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.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Built-in\/Predefined Methods in JavaScript - scmGalaxy","og_description":"In JavaScript, however, a\u00a0method\u00a0is a\u00a0function\u00a0that belongs to an\u00a0object. A JavaScript\u00a0method\u00a0is a property containing a\u00a0function definition. There is a long list [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/","og_site_name":"scmGalaxy","article_published_time":"2021-03-26T13:08:18+00:00","author":"abhishek k","twitter_card":"summary_large_image","twitter_misc":{"Written by":"abhishek k","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/"},"author":{"name":"abhishek k","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/143500a93b88a96d3c9602b3df804cb6"},"headline":"Built-in\/Predefined Methods in JavaScript","datePublished":"2021-03-26T13:08:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/"},"wordCount":1560,"commentCount":0,"keywords":["buildin function in javascript","Built-in\/Predefined Methods in JavaScript","function types in javascript","functions in javascript","predefined function in javascript"],"articleSection":["JavaScript","Websites"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/","name":"Built-in\/Predefined Methods in JavaScript - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-03-26T13:08:18+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/143500a93b88a96d3c9602b3df804cb6"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/built-in-predefined-methods-in-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Built-in\/Predefined Methods in JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/143500a93b88a96d3c9602b3df804cb6","name":"abhishek k","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e05a074cc5eeb0b13b5768bbfd8f7793851f739965234dc5aaae590b9c8677f?s=96&d=mm&r=g","caption":"abhishek k"},"description":"Abhishek is a full-stack developer that provides the solution for the design and analysis of Website and Mobile Application. Expertise in HTML, CSS, JAVASCRIPT, LARAVEL.","url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/abhishek\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=5769"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5769\/revisions"}],"predecessor-version":[{"id":5775,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/5769\/revisions\/5775"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=5769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=5769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=5769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}