{"id":5713,"date":"2019-06-12T21:14:54","date_gmt":"2019-06-12T19:14:54","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=5713"},"modified":"2019-06-12T16:20:28","modified_gmt":"2019-06-12T14:20:28","slug":"5713","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2019\/06\/12\/5713\/","title":{"rendered":""},"content":{"rendered":"<h1 id=\"651d\" class=\"graf graf--h3 graf--leading graf--title\"><a href=\"https:\/\/itnext.io\/different-ways-to-achieve-encapsulation-in-javascript-es6-7cb938e83f2d\">Different ways to achieve encapsulation in JavaScript(ES6)<\/a><\/h1>\n<div class=\"uiScale uiScale-ui--regular uiScale-caption--regular u-flexCenter u-marginVertical24 u-fontSize15 js-postMetaLockup\">\n<div class=\"u-flex1 u-paddingLeft15 u-overflowHidden\">\n<div class=\"u-paddingBottom3\"><a class=\"ds-link ds-link--styleSubtle ui-captionStrong u-inlineBlock link link--darken link--darker\" dir=\"auto\" href=\"https:\/\/itnext.io\/@iskenxan11\" data-action=\"show-user-card\" data-action-value=\"3110c0425a2b\" data-action-type=\"hover\" data-user-id=\"3110c0425a2b\" data-collection-slug=\"itnext\">Iskander Samatov<\/a><\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<p><!--more--><\/p>\n<p><!--nextpage--><\/p>\n<blockquote>\n<figure id=\"51b8\" class=\"graf graf--figure graf--iframe graf-after--p\">\n<div class=\"aspectRatioPlaceholder is-locked\"><\/div>\n<\/figure>\n<\/blockquote>\n<section class=\"section section--body\">\n<div class=\"section-content\">\n<div class=\"section-inner sectionLayout--insetColumn\">\n<p id=\"9fd5\" class=\"graf graf--p graf--leading graf--trailing\">\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Different ways to achieve encapsulation in JavaScript(ES6) Iskander Samatov<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2019\/06\/12\/5713\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[50],"tags":[],"class_list":["post-5713","post","type-post","status-publish","format-link","hentry","category-javascript","post_format-post-format-link"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s6daft-5713","jetpack-related-posts":[{"id":8190,"url":"https:\/\/monodes.com\/predaelli\/2021\/02\/21\/typeorm\/","url_meta":{"origin":5713,"position":0},"title":"Typeorm","author":"Paolo Redaelli","date":"2021-02-21","format":"link","excerpt":"typeorm.io is Object\u2013relational mapping for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.","rel":"","context":"In &quot;Javascript&quot;","block_context":{"text":"Javascript","link":"https:\/\/monodes.com\/predaelli\/category\/javascript\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2140,"url":"https:\/\/monodes.com\/predaelli\/2017\/02\/03\/2140\/","url_meta":{"origin":5713,"position":1},"title":"http:\/\/jamesknelson.com\/using-es6-in-the-browser-with-babel-6-and-webpack\/","author":"Paolo Redaelli","date":"2017-02-03","format":false,"excerpt":"http:\/\/jamesknelson.com\/using-es6-in-the-browser-with-babel-6-and-webpack\/","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5254,"url":"https:\/\/monodes.com\/predaelli\/2019\/02\/17\/learn-pure-functions-with-javascript-cristi-salcescu-medium\/","url_meta":{"origin":5713,"position":2},"title":"Learn pure functions with JavaScript \u2013 Cristi Salcescu \u2013 Medium","author":"Paolo Redaelli","date":"2019-02-17","format":"link","excerpt":"Pure functions are easier to read, understand, test, debug and munch more. Source: Learn pure functions with JavaScript \u2013 Cristi Salcescu \u2013 Medium Learn pure functions with JavaScript Cristi Salcescu Feb 10 Photo by Ren\u00e9 Reichelt on\u00a0Unsplash Pure functions are easier to read, understand, test, debug and munch more. You\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5164,"url":"https:\/\/monodes.com\/predaelli\/2019\/01\/31\/these-are-the-features-in-es6-that-you-should-know\/","url_meta":{"origin":5713,"position":3},"title":"These are the features in ES6 that you should know","author":"Paolo Redaelli","date":"2019-01-31","format":false,"excerpt":"These are the features in ES6 that you should know These are the features in ES6 that you should knowby Cristi SalcescuES6 brings more features to the JavaScript language. Some new syntax allows you to write code in a more expressive way, some features complete the functional programming toolbox, and\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4373,"url":"https:\/\/monodes.com\/predaelli\/2018\/06\/13\/when-and-why-you-should-use-es6-arrow-functions-and-when-you-shouldnt\/","url_meta":{"origin":5713,"position":4},"title":"When (and why) you should use ES6 arrow functions \u2014 and when you shouldn\u2019t","author":"Paolo Redaelli","date":"2018-06-13","format":false,"excerpt":"Nice reminder. Arrow functions (also called \u201cfat arrow functions\u201d) are undoubtedly one of the more popular features of ES6. They introduced a new way of\u2026 Sorgente: When (and why) you should use ES6 arrow functions \u2014 and when you shouldn\u2019t Arrow functions (also called \u201cfat arrow functions\u201d) are undoubtedly one\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5128,"url":"https:\/\/monodes.com\/predaelli\/2019\/01\/15\/removing-javascripts-this-keyword-makes-it-a-better-language-heres-why\/","url_meta":{"origin":5713,"position":5},"title":"Removing JavaScript\u2019s \u201cthis\u201d keyword makes it a better language. Here\u2019s why.","author":"Paolo Redaelli","date":"2019-01-15","format":false,"excerpt":"Removing JavaScript\u2019s \u201cthis\u201d keyword makes it a better language. Here\u2019s why. Removing JavaScript\u2019s \u201cthis\u201d keyword makes it a better language. Here\u2019s\u00a0why. Cristi Salcescu Jan this is of course the source of much confusion in JavaScript. The reason being that this depends on how the function was invoked, not where the\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/5713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=5713"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/5713\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=5713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=5713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=5713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}