Skip to content

Navigation Menu

Sign in
Sign up

Object.keys, values, entries - #169

Open
msisaifu wants to merge 1 commit into
javascript-tutorial:master from
msisaifu:objects-ds-methods
Open

Object.keys, values, entries #169
msisaifu wants to merge 1 commit into
javascript-tutorial:master from
msisaifu:objects-ds-methods

Conversation

@msisaifu

@msisaifu msisaifu commented Apr 26, 2021

Copy link
Copy Markdown
Contributor

No description provided.

প্রথম পার্থক্যটি আমরা দেখেছি অন্যান্য ডাটা স্ট্রাকচারের মত `obj.keys()` এর বদলে `Object.keys(obj)` কল করছি।

Why so? The main reason is flexibility. Remember, objects are a base of all complex structures in JavaScript. So we may have an object of our own like `data` that implements its own `data.values()` method. And we still can call `Object.values(data)` on it.
এমন কেন? প্রধান কারণ হল সহজযোগ্য করা। কেননা জাভাস্ক্রিপ্টের যে কোন ডাটা স্ট্রাকচার অবজেক্টের উপর ভিত্তি করে তৈরি হয়। তাই আমরা আমাদের নিজস্ব ডাটা স্ট্রাকচারের জন্য `data.values()` মেথড ইমপ্লিমেন্ট করতে পারি। এবং আমরা চাইলে আমাদের বেস অবজেক্টকেও কল করতে পারব`Object.values(data)`

@jaamaalxyz jaamaalxyz Mar 11, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

সহজযোগ্য এর পরিবর্তে সহজবোধ্য বা নমনীয় শব্দগুলো ব্যবহার করুন।

@jaamaalxyz jaamaalxyz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revised the content and update the PR

Copy link
Copy Markdown

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jaamaalxyz jaamaalxyz jaamaalxyz requested changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /