<center></center> <p>Let's take a new look at JavaScript; It's use! In other words, in a series of posts, after explaining some prerequisites, such as the types of functions and their calls, and the types of objects, I want to access the DOM. That's where the power of JavaScript is shown in practice and I can use the DOM to change the content of a page and its behavior.</p> <h3>Defining objects in JavaScript</h3> <p>It can be said that objects in JavaScript are everything in JavaScript! If you understand things, many issues will become easy for you and you will gain a lot of maneuvering power. </p> <p>Almost everything in JavaScript is an object: </p> <ul> <li><code>Boolean</code>s can be objects (using <code>new</code> ).</li> <li><code>Number</code>s can be objects (using <code>new</code>).</li> <li><code>String</code>s can be objects (using <code>new</code> ).</li> <li> <code>Date</code> is always an object. </li> <li> <code>Math</code> is always the object. </li> <li> Regular expressions are always objects. </li> <li> <code>Array</code>s are always objects. </li> <li> <code>Function</code>s are always objects. </li> <li> And finally, <code>object</code>s are also of object type. </li> </ul> <p>In other words, all JavaScript values (except primitive values) are objects. </p> <h3>primitive values </h3> <p>Primitive values are values that don't have any properties or methods: </p> <ul> <li> <code>string</code> </li> <li> <code>number</code> </li> <li> <code>boolean</code> </li> <li> <code>null</code> </li> <li> <code>undefined</code> </li> </ul> <p>Primitive values are immutable in JavaScript. You must be saying that we can easily change the numbers, so how are they immutable? </p> <p>Let me give you an example; You can change <code>x = 3.14</code> to <code>x = 2</code>. In this case, you have changed the <strong>variable</strong> (<code>x</code>) and not <code>3.14</code>. Another example is that the string <code>"Hello"</code> always remains the same as <code>"Hello"</code> and does not change, but you can give it to a variable or take it from a variable. You cannot change the string itself. JavaScript logic is like this. </p> <p><strong>Objects are also a variable type, but the difference is that variables can only hold one value, such as </strong><code>var person = "Hive Blockchain"</code><strong>, but objects can hold many values.</strong> </p> <p>These values are stored in the form of <code>name: value</code>: </p> <pre><code class="language-javascript">var person = {firstName:"Hive", lastName:"Blockchain", age:3, eyeColor:"red"};</code></pre> <p>This object can also be written as follows: </p> <pre><code class="language-javascript">var person = { firstName : "Hive", lastName : "Blockchain", age : 3, eyeColor : "red" };</code></pre> <p>We say that JavaScript objects are a collection of named values. </p> <h3>properties </h3> <p>I said above that values are stored in objects as <code>name: value</code>. We call these names <strong>property</strong>. Therefore, it can be said for the above object: </p> <center> <table> <tbody> <tr> <td> <center> <strong>Property</strong> </center> </td> <td> <center> <strong>Value</strong> </center> </td> </tr> <tr> <td> <center> firstName </center> </td> <td> <center> Hive </center> </td> </tr> <tr> <td> <center> lastName </center> </td> <td> <center> Blockchain </center> </td> </tr> <tr> <td> <center> age </center> </td> <td> <center> 3 </center> </td> </tr> <tr> <td> <center> eyeColor </center> </td> <td> <center> red </center> </td> </tr> </tbody> </table> </center> <p><strong>Note</strong>: The properties of an object can be primitive values, functions or other objects. </p> <h3>methods </h3> <p>Methods in JavaScript are actions performed on an object, but the object method is one of the object's properties that has the definition of a function. Pay attention to the following example: </p> <center> <table> <tbody> <tr> <td> <center> <strong>Property</strong> </center> </td> <td> <center> <strong>Value</strong> </center> </td> </tr> <tr> <td> <center> firstName </center> </td> <td> <center> Hive </center> </td> </tr> <tr> <td> <center> lastName </center> </td> <td> <center> Blockchain </center> </td> </tr> <tr> <td> <center> age </center> </td> <td> <center> 3 </center> </td> </tr> <tr> <td> <center> eyeColor </center> </td> <td> <center> red </center> </td> </tr> <tr> <td> <center> fullName </center> </td> <td> <center> function() {return this.firstName + " " + this.lastName;} </center> </td> </tr> </tbody> </table> </center> <p>So <code>fullName</code> is a method. </p> <h3>Create an object </h3> <p>There are several ways to create an object in JavaScript: </p> <ul> <li>Defining an object number manually (object literal) </li> <li>Define an object number using the <code>new </code>keyword </li> <li>Defining an object <code>constructor</code> (meaning "object builder" or "object maker") and then building different objects based on that constructor. </li> </ul> <h3>The first method (object literal) </h3> <p>This is the easiest way to create an object. In this method, you put a list of <code>name: values</code> (such as <code>age: 3</code>) inside <code>{}</code> signs. Example: </p> <pre><code class="language-javascript"> var person = {firstName:"Hive", lastName:"Blockchain", age:3, eyeColor:"red"};</code></pre> <p>As I said, white space does not affect the execution, so you can write this object as follows: </p> <pre><code class="language-javascript">var person = { firstName: "Hive", lastName: "Blockchain", age: 3, eyeColor: "red" };</code></pre> <h3>The second method: using <code>new</code> </h3> <p>An object is defined simply as follows: </p> <pre><code class="language-javascript">var person = new Object(); person.firstName = "Hive"; person.lastName = "Blockchain"; person.age = 3; person.eyeColor = "red";</code></pre> <p>This method is the same as the first method. Due to the readability of the code and its faster execution, I suggest you never use this method and choose the first method instead. </p> <h3>A common mistake about objects </h3> <p>If we have an object called <code>person</code>, the following code cannot copy it: </p> <pre><code class="language-javascript">var x = person;</code></pre> <p>In fact, variable <code>x</code> is not a copy of <code>person</code>, but it is itself, and both are the same. Any changes you make in <code>x</code> will also be made in <code>person</code>. So: </p> <pre><code class="language-javascript">var person = {firstName:"Hive", lastName:"Blockchain", age:3, eyeColor:"red"} var x = person; x.age = 4;</code></pre> <p>This code (i.e. <code>x.age = 10</code>) changes both <code>x</code> and <code>person</code> because both are the same object. </p>
author | albro | ||||||
---|---|---|---|---|---|---|---|
permlink | objects-in-javascript-by-albro | ||||||
category | hive-169321 | ||||||
json_metadata | {"app":"peakd/2023.11.3","format":"markdown","author":"albro","tags":["development","programming","posh","gosh","threads","hive-engine","neoxian","lassecash","tricks","leofinance"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/albro/23w3CYwmfdeC78acXx68KvPfSyzRBFzYam8wEtcb4vjW8CAAwTsrXUcXCLMtY5T7FoaUf.jpg"]} | ||||||
created | 2023-12-01 21:30:00 | ||||||
last_update | 2023-12-01 21:30:00 | ||||||
depth | 0 | ||||||
children | 5 | ||||||
last_payout | 2023-12-08 21:30:00 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 2.198 HBD | ||||||
curator_payout_value | 2.171 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 9,564 | ||||||
author_reputation | 30,477,419,385,789 | ||||||
root_title | "Objects in JavaScript By albro" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 129,333,987 | ||||||
net_rshares | 9,224,797,783,462 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
kevinwong | 0 | 7,906,423,524 | 1.2% | ||
justtryme90 | 0 | 554,113,247 | 30% | ||
eric-boucher | 0 | 6,376,595,539 | 1.2% | ||
thecryptodrive | 0 | 28,113,218,617 | 0.48% | ||
roelandp | 0 | 126,674,475,756 | 15% | ||
cloh76 | 0 | 1,670,186,963 | 1.2% | ||
lichtblick | 0 | 1,244,130,611 | 0.72% | ||
sunshine | 0 | 86,788,840,701 | 15% | ||
lordvader | 0 | 14,538,913,839 | 2.4% | ||
lemouth | 0 | 873,286,380,639 | 30% | ||
lamouthe | 0 | 2,345,963,363 | 30% | ||
tfeldman | 0 | 2,254,362,562 | 1.2% | ||
sergiomendes | 0 | 536,664,141 | 1.2% | ||
metabs | 0 | 3,214,984,780 | 30% | ||
mcsvi | 0 | 139,436,038,505 | 50% | ||
lk666 | 0 | 771,667,469 | 1.2% | ||
justyy | 0 | 12,302,659,056 | 2.4% | ||
michelle.gent | 0 | 1,396,565,013 | 0.48% | ||
curie | 0 | 147,029,327,914 | 2.4% | ||
modernzorker | 0 | 1,561,081,748 | 1.68% | ||
techslut | 0 | 80,590,447,789 | 12% | ||
steemstem | 0 | 549,748,888,678 | 30% | ||
edb | 0 | 2,074,938,409 | 3% | ||
bigtakosensei | 0 | 579,191,784 | 0.6% | ||
walterjay | 0 | 194,009,398,489 | 15% | ||
valth | 0 | 4,515,619,093 | 15% | ||
metroair | 0 | 9,775,347,849 | 2.4% | ||
driptorchpress | 0 | 906,134,289 | 0.6% | ||
dna-replication | 0 | 1,140,432,114 | 30% | ||
privex | 0 | 1,464,081,598 | 2.4% | ||
dhimmel | 0 | 158,945,186,733 | 7.5% | ||
oluwatobiloba | 0 | 949,020,351 | 30% | ||
elevator09 | 0 | 3,115,148,921 | 1.2% | ||
detlev | 0 | 6,298,326,264 | 0.72% | ||
federacion45 | 0 | 3,636,985,222 | 1.2% | ||
gamersclassified | 0 | 2,116,322,368 | 1.2% | ||
iansart | 0 | 2,352,114,699 | 1.2% | ||
forykw | 0 | 5,616,219,485 | 1.2% | ||
mobbs | 0 | 46,427,265,663 | 15% | ||
jerrybanfield | 0 | 7,600,695,163 | 2.4% | ||
rt395 | 0 | 2,044,246,058 | 1.5% | ||
bitrocker2020 | 0 | 3,800,453,247 | 0.36% | ||
sustainablyyours | 0 | 10,301,534,352 | 15% | ||
arunava | 0 | 8,121,770,497 | 0.96% | ||
samminator | 0 | 20,505,965,106 | 15% | ||
enjar | 0 | 19,198,157,578 | 2.16% | ||
lorenzor | 0 | 1,342,900,558 | 50% | ||
alexander.alexis | 0 | 18,297,460,824 | 30% | ||
princessmewmew | 0 | 3,219,297,705 | 1.2% | ||
joeyarnoldvn | 0 | 474,526,734 | 1.47% | ||
pipiczech | 0 | 960,678,217 | 2.4% | ||
empath | 0 | 1,764,863,136 | 1.2% | ||
minnowbooster | 0 | 1,044,314,078,889 | 20% | ||
howo | 0 | 942,175,750,083 | 30% | ||
tsoldovieri | 0 | 3,138,413,855 | 15% | ||
droida | 0 | 156,754,883,198 | 100% | ||
steemwizards | 0 | 1,794,375,783 | 2.4% | ||
neumannsalva | 0 | 2,030,976,806 | 1.2% | ||
stayoutoftherz | 0 | 69,073,900,177 | 0.6% | ||
abigail-dantes | 0 | 11,027,331,852 | 30% | ||
coindevil | 0 | 1,177,188,784 | 1.92% | ||
pixelfan | 0 | 49,903,157,987 | 6% | ||
zonguin | 0 | 1,581,079,884 | 7.5% | ||
investingpennies | 0 | 8,802,648,604 | 2.4% | ||
khalil319 | 0 | 2,076,406,140 | 10% | ||
martibis | 0 | 669,766,308 | 0.72% | ||
redrica | 0 | 844,791,641 | 1.2% | ||
iamphysical | 0 | 887,563,845 | 90% | ||
zyx066 | 0 | 1,798,304,431 | 0.72% | ||
revo | 0 | 4,770,548,582 | 2.4% | ||
azulear | 0 | 1,422,406,305 | 100% | ||
psicoluigi | 0 | 856,335,810 | 50% | ||
rocky1 | 0 | 337,756,925,184 | 0.36% | ||
thelordsharvest | 0 | 2,066,394,903 | 2.4% | ||
aidefr | 0 | 3,095,472,643 | 15% | ||
torico | 0 | 620,231,743 | 0.79% | ||
therealwolf | 0 | 13,576,556,315 | 1.2% | ||
splash-of-angs63 | 0 | 7,809,716,462 | 60% | ||
cryptononymous | 0 | 801,197,608 | 1.2% | ||
deadzy | 0 | 478,146,814 | 10% | ||
meno | 0 | 11,142,118,744 | 1.2% | ||
buttcoins | 0 | 3,699,655,192 | 0.48% | ||
isnochys | 0 | 9,084,284,102 | 5% | ||
steemed-proxy | 0 | 428,859,090,558 | 2.4% | ||
fatkat | 0 | 598,106,186 | 1.19% | ||
enzor | 0 | 865,646,794 | 15% | ||
bartosz546 | 0 | 2,418,837,376 | 1.2% | ||
dandays | 0 | 6,987,375,881 | 0.45% | ||
notb4mycoffee | 0 | 1,374,204,672 | 2.4% | ||
silverwhale | 0 | 549,040,931 | 2.16% | ||
sunsea | 0 | 1,118,402,219 | 1.2% | ||
postpromoter | 0 | 694,763,640,329 | 30% | ||
bluefinstudios | 0 | 1,616,535,331 | 0.72% | ||
steveconnor | 0 | 2,066,840,628 | 1.2% | ||
sankysanket18 | 0 | 697,304,431 | 15% | ||
dbddv01 | 0 | 1,070,643,213 | 7.5% | ||
nicole-st | 0 | 958,324,502 | 1.2% | ||
smartsteem | 0 | 58,178,065,976 | 1.2% | ||
smitop | 0 | 10,684,276,043 | 100% | ||
aboutcoolscience | 0 | 7,671,878,372 | 30% | ||
sandracarrascal | 0 | 494,765,091 | 50% | ||
kenadis | 0 | 8,044,042,766 | 30% | ||
madridbg | 0 | 14,310,355,955 | 30% | ||
lpv | 0 | 1,276,613,710 | 3.75% | ||
elex17 | 0 | 1,369,450,869 | 100% | ||
punchline | 0 | 3,073,696,453 | 2.4% | ||
adelepazani | 0 | 590,371,927 | 0.48% | ||
r00sj3 | 0 | 51,528,350,693 | 15% | ||
sco | 0 | 8,890,717,945 | 30% | ||
ennyta | 0 | 983,702,155 | 50% | ||
juecoree | 0 | 3,927,054,433 | 21% | ||
stahlberg | 0 | 514,690,718 | 1.2% | ||
gabrielatravels | 0 | 807,161,383 | 0.84% | ||
vjap55 | 0 | 7,957,604,350 | 100% | ||
carn | 0 | 1,521,491,876 | 2.16% | ||
eliaschess333 | 0 | 52,612,269,690 | 100% | ||
branbello | 0 | 1,532,334,740 | 15% | ||
hetty-rowan | 0 | 1,244,705,369 | 1.2% | ||
ydavgonzalez | 0 | 2,053,616,957 | 10% | ||
intrepidphotos | 0 | 7,399,023,851 | 22.5% | ||
fineartnow | 0 | 1,693,574,647 | 1.2% | ||
yoghurt | 0 | 486,101,976 | 2.4% | ||
steemvault | 0 | 923,071,396 | 2.4% | ||
fragmentarion | 0 | 17,256,231,261 | 30% | ||
bennettitalia | 0 | 801,130,305 | 1.2% | ||
utube | 0 | 1,939,416,565 | 2.4% | ||
neneandy | 0 | 2,744,544,981 | 2.4% | ||
sportscontest | 0 | 2,430,506,241 | 2.4% | ||
videosteemit | 0 | 482,551,362 | 2.4% | ||
gribouille | 0 | 1,394,974,391 | 30% | ||
itharagaian | 0 | 2,533,096,557 | 40% | ||
pandasquad | 0 | 6,186,491,273 | 2.4% | ||
kingabesh | 0 | 579,683,224 | 15% | ||
miguelangel2801 | 0 | 788,501,564 | 50% | ||
mproxima | 0 | 938,323,005 | 1.2% | ||
fantasycrypto | 0 | 904,587,128 | 1.2% | ||
didic | 0 | 788,751,564 | 1.2% | ||
emiliomoron | 0 | 4,538,581,417 | 15% | ||
dexterdev | 0 | 1,205,462,837 | 15% | ||
photohunt | 0 | 1,667,063,197 | 2.4% | ||
geopolis | 0 | 1,966,922,232 | 30% | ||
robertbira | 0 | 3,217,028,738 | 7.5% | ||
alexdory | 0 | 3,771,104,448 | 30% | ||
takowi | 0 | 47,139,478,509 | 2.4% | ||
irgendwo | 0 | 9,341,591,495 | 2.4% | ||
flugschwein | 0 | 3,836,475,493 | 25.5% | ||
charitybot | 0 | 5,035,224,438 | 100% | ||
cyprianj | 0 | 16,264,184,147 | 15% | ||
kieranstone | 0 | 688,441,473 | 0.79% | ||
melvin7 | 0 | 46,383,066,424 | 15% | ||
francostem | 0 | 4,127,103,427 | 30% | ||
endopediatria | 0 | 692,926,510 | 20% | ||
croctopus | 0 | 1,538,205,246 | 100% | ||
minibot | 0 | 3,380,865,038 | 68.94% | ||
jjerryhan | 0 | 2,056,375,605 | 1.2% | ||
zipporah | 0 | 1,151,755,528 | 0.48% | ||
leomarylm | 0 | 794,272,133 | 1.2% | ||
superlotto | 0 | 6,642,986,298 | 2.4% | ||
bscrypto | 0 | 6,289,624,153 | 1.2% | ||
vonaurolacu | 0 | 732,955,411 | 1.2% | ||
movingman | 0 | 519,183,794 | 20% | ||
tomastonyperez | 0 | 16,949,253,110 | 50% | ||
bil.prag | 0 | 1,057,892,504 | 0.12% | ||
elvigia | 0 | 11,104,406,671 | 50% | ||
sanderjansenart | 0 | 2,191,514,149 | 1.2% | ||
vittoriozuccala | 0 | 910,461,016 | 1.2% | ||
koenau | 0 | 659,294,154 | 1.2% | ||
qberry | 0 | 1,644,413,005 | 1.2% | ||
frissonsteemit | 0 | 508,124,408 | 1.2% | ||
rambutan.art | 0 | 736,275,940 | 2.4% | ||
greddyforce | 0 | 1,747,066,070 | 0.88% | ||
flyerchen | 0 | 527,349,667 | 1.2% | ||
braaiboy | 0 | 4,468,468,679 | 1.2% | ||
gadrian | 0 | 192,024,485,396 | 22.5% | ||
fotogruppemunich | 0 | 1,600,683,018 | 0.6% | ||
therising | 0 | 40,229,952,837 | 2.4% | ||
cryptocoinkb | 0 | 905,311,238 | 1.2% | ||
eniolw | 0 | 14,706,134,931 | 100% | ||
de-stem | 0 | 16,445,536,535 | 29.7% | ||
serylt | 0 | 1,350,445,987 | 29.4% | ||
misterlangdon | 0 | 1,430,376,716 | 50% | ||
josedelacruz | 0 | 4,836,167,288 | 50% | ||
achimmertens | 0 | 7,326,416,116 | 1.2% | ||
charitymemes | 0 | 522,877,068 | 100% | ||
erickyoussif | 0 | 707,866,380 | 100% | ||
indigoocean | 0 | 476,031,806 | 1.2% | ||
deholt | 0 | 1,718,045,317 | 25.5% | ||
anneporter | 0 | 1,146,258,543 | 9% | ||
meins0815 | 0 | 6,951,158,894 | 23% | ||
crimo | 0 | 598,378,575 | 11.5% | ||
minerthreat | 0 | 1,445,191,374 | 1.2% | ||
temitayo-pelumi | 0 | 2,763,417,723 | 30% | ||
andrick | 0 | 857,328,830 | 50% | ||
doctor-cog-diss | 0 | 27,198,875,100 | 30% | ||
marcuz | 0 | 983,014,589 | 15% | ||
acont | 0 | 6,793,465,893 | 50% | ||
uche-nna | 0 | 2,421,832,588 | 1.92% | ||
letenebreux | 0 | 1,633,361,990 | 40% | ||
cheese4ead | 0 | 1,985,532,157 | 1.2% | ||
mafufuma | 0 | 7,443,010,395 | 1% | ||
apshamilton | 0 | 5,561,663,890 | 0.3% | ||
gaottantacinque | 0 | 461,726,988 | 100% | ||
nathyortiz | 0 | 449,080,663 | 1.2% | ||
nattybongo | 0 | 59,949,491,890 | 30% | ||
drsensor | 0 | 645,989,843 | 24% | ||
revueh | 0 | 807,643,530 | 15% | ||
esteliopadilla | 0 | 493,530,783 | 100% | ||
bflanagin | 0 | 869,967,400 | 0.6% | ||
ubaldonet | 0 | 2,552,023,837 | 80% | ||
armandosodano | 0 | 1,539,113,939 | 1.2% | ||
hamismsf | 0 | 1,762,414,707 | 0.3% | ||
goblinknackers | 0 | 74,164,884,933 | 7% | ||
reinaseq | 0 | 7,692,078,145 | 100% | ||
vixmemon | 0 | 661,008,185 | 1.8% | ||
kylealex | 0 | 4,626,119,990 | 10% | ||
gasaeightyfive | 0 | 836,526,254 | 100% | ||
cubapl | 0 | 1,870,856,844 | 15% | ||
fran.frey | 0 | 4,172,424,859 | 50% | ||
perpetuum-lynx | 0 | 894,997,883 | 29.4% | ||
jrevilla | 0 | 657,870,360 | 100% | ||
thelittlebank | 0 | 8,475,415,662 | 1.2% | ||
pboulet | 0 | 63,273,791,566 | 24% | ||
cercle | 0 | 2,111,359,291 | 40% | ||
stem-espanol | 0 | 14,462,283,841 | 100% | ||
cribbio | 0 | 1,891,728,196 | 100% | ||
cliffagreen | 0 | 4,746,003,150 | 10% | ||
aleestra | 0 | 13,901,205,759 | 80% | ||
palasatenea | 0 | 1,407,080,577 | 1.2% | ||
the.success.club | 0 | 953,437,410 | 1.2% | ||
l-singclear | 0 | 1,931,159,203 | 100% | ||
meanroosterfarm | 0 | 572,005,215 | 15% | ||
merlin7 | 0 | 4,734,117,915 | 2.4% | ||
brianoflondon | 0 | 34,959,004,105 | 0.6% | ||
giulyfarci52 | 0 | 1,705,440,874 | 50% | ||
kristall97 | 0 | 3,553,895,602 | 100% | ||
steemcryptosicko | 0 | 3,927,351,994 | 0.48% | ||
certain | 0 | 474,390,337 | 0.28% | ||
multifacetas | 0 | 632,963,847 | 1.2% | ||
cakemonster | 0 | 1,423,750,516 | 2.4% | ||
cowpatty | 0 | 602,145,060 | 15% | ||
stem.witness | 0 | 1,769,704,764 | 30% | ||
jpbliberty | 0 | 3,112,384,088 | 0.6% | ||
steemstorage | 0 | 2,991,434,068 | 2.4% | ||
jtm.support | 0 | 2,198,769,947 | 30% | ||
crowdwitness | 0 | 78,191,903,181 | 15% | ||
hairgistix | 0 | 1,351,363,046 | 1.2% | ||
steemean | 0 | 9,961,899,821 | 5% | ||
proxy-pal | 0 | 482,714,200 | 2.4% | ||
newton666 | 0 | 608,867,965 | 15% | ||
dawnoner | 0 | 805,433,855 | 0.24% | ||
photographercr | 0 | 1,122,581,259 | 0.48% | ||
larsito | 0 | 5,198,178,952 | 60% | ||
memehub | 0 | 1,208,205,805 | 1.2% | ||
epicdice | 0 | 796,958,334 | 0.72% | ||
iamsaray | 0 | 583,955,912 | 1.2% | ||
robibasa | 0 | 17,541,604,677 | 10% | ||
beerlover | 0 | 969,519,854 | 0.72% | ||
rtron86 | 0 | 6,208,767,595 | 50% | ||
tggr | 0 | 544,651,349 | 1.2% | ||
aicu | 0 | 528,625,716 | 2.4% | ||
walterprofe | 0 | 1,450,327,034 | 15% | ||
zeruxanime | 0 | 630,956,238 | 15% | ||
afarina46 | 0 | 804,876,478 | 15% | ||
freebot | 0 | 222,519,210 | 100% | ||
lunapark | 0 | 589,641,689 | 100% | ||
quicktrade | 0 | 146,485,678 | 100% | ||
cresus | 0 | 637,117,188 | 100% | ||
hadaly | 0 | 226,028,107 | 100% | ||
goldfoot | 0 | 679,246,732 | 100% | ||
dotmatrix | 0 | 167,709,363 | 100% | ||
otomo | 0 | 143,779,326 | 100% | ||
botito | 0 | 1,446,865,077 | 100% | ||
weebo | 0 | 143,730,625 | 100% | ||
freysa | 0 | 1,662,285,273 | 100% | ||
tobor | 0 | 143,793,597 | 100% | ||
buffybot | 0 | 144,806,413 | 100% | ||
hypnobot | 0 | 144,912,016 | 100% | ||
psybot | 0 | 1,357,673,601 | 100% | ||
psychobot | 0 | 144,807,034 | 100% | ||
curabot | 0 | 143,780,080 | 100% | ||
elector | 0 | 4,037,217,522 | 100% | ||
chatbot | 0 | 144,908,692 | 100% | ||
chomps | 0 | 143,867,151 | 100% | ||
quicktrades | 0 | 9,132,763,831 | 100% | ||
misery | 0 | 216,563,020 | 100% | ||
reggaesteem | 0 | 477,678,763 | 5% | ||
bastionpm | 0 | 947,448,125 | 40% | ||
nazer | 0 | 1,197,507,399 | 15% | ||
onealfa.life | 0 | 0 | 2% | ||
steemstem-trig | 0 | 595,150,806 | 30% | ||
baltai | 0 | 2,532,216,622 | 1.2% | ||
bilpcoin.pay | 0 | 540,508,138 | 10% | ||
rajneesh774 | 0 | 0 | 23% | ||
atheistrepublic | 0 | 2,845,859,171 | 1.2% | ||
ibt-survival | 0 | 35,726,213,793 | 10% | ||
hjmarseille | 0 | 860,087,771 | 21% | ||
zirky | 0 | 1,142,584,582 | 2.04% | ||
gloriaolar | 0 | 861,606,859 | 0.72% | ||
lightpaintershub | 0 | 664,506,826 | 1% | ||
bilpcoinbpc | 0 | 814,409,394 | 5% | ||
peterale | 0 | 529,986,979 | 1.2% | ||
stemsocial | 0 | 248,438,454,655 | 30% | ||
veeart | 0 | 2,106,969,637 | 50% | ||
the100 | 0 | 546,053,361 | 1.2% | ||
hive-143869 | 0 | 286,954,521,312 | 40% | ||
emrysjobber | 0 | 1,090,386,223 | 25% | ||
noelyss | 0 | 10,007,892,972 | 15% | ||
honeybot | 0 | 1,313,293,888 | 100% | ||
lithajacobs | 0 | 2,853,109,507 | 100% | ||
jsalvage | 0 | 708,427,411 | 15% | ||
flowmaster | 0 | 9,777,741,217 | 100% | ||
quinnertronics | 0 | 14,635,407,101 | 7% | ||
buildahouse | 0 | 1,100,237,489 | 40% | ||
gohive | 0 | 4,430,046,628 | 100% | ||
aabcent | 0 | 1,412,338,315 | 1.92% | ||
altleft | 0 | 9,342,925,610 | 0.02% | ||
borniet | 0 | 834,020,512 | 1.2% | ||
evagavilan2 | 0 | 566,922,163 | 1.2% | ||
gonklavez9 | 0 | 537,570,229 | 30% | ||
cosplay.hadr | 0 | 491,238,528 | 2.4% | ||
hadrgames | 0 | 507,039,221 | 2.4% | ||
emeraldtiger | 0 | 3,958,171,236 | 20% | ||
meritocracy | 0 | 26,902,349,113 | 0.24% | ||
eumorrell | 0 | 2,469,903,539 | 100% | ||
dcrops | 0 | 15,167,438,239 | 1.2% | ||
entraide.rewards | 0 | 1,296,540,929 | 40% | ||
traderhive | 0 | 5,446,599,883 | 2.4% | ||
dodovietnam | 0 | 1,742,950,200 | 1.2% | ||
failingforwards | 0 | 1,275,036,161 | 1.2% | ||
drricksanchez | 0 | 6,239,112,504 | 1.2% | ||
trippymane | 0 | 723,137,107 | 2.4% | ||
nfttunz | 0 | 3,747,530,593 | 0.24% | ||
okluvmee | 0 | 1,131,335,589 | 1.2% | ||
atexoras.pub | 0 | 543,109,178 | 1.2% | ||
holovision.cash | 0 | 2,647,505,730 | 100% | ||
onealfa.pob | 0 | 0 | 2% | ||
krrizjos18 | 0 | 1,288,748,088 | 15% | ||
sarashew | 0 | 1,706,252,697 | 2.4% | ||
podping | 0 | 3,509,141,904 | 0.6% | ||
drhueso | 0 | 567,393,941 | 1.2% | ||
pinkfloyd878 | 0 | 4,224,497,365 | 100% | ||
chessbrotherspro | 0 | 362,389,945,812 | 100% | ||
sidalim88 | 0 | 1,466,495,181 | 1.2% | ||
aries90 | 0 | 17,754,352,407 | 2.4% | ||
cugel | 0 | 978,960,650 | 1.2% | ||
blingit | 0 | 1,493,404,375 | 1.2% | ||
rosmarly | 0 | 1,681,755,415 | 100% | ||
kingz1339 | 0 | 754,208,067 | 100% | ||
kqaosphreak | 0 | 2,008,849,661 | 30% | ||
alt3r | 0 | 459,333,489 | 1.84% | ||
waivio.curator | 0 | 1,813,789,858 | 3.39% | ||
simsahas | 0 | 1,404,501,753 | 2.4% | ||
skimanner | 0 | 17,274,661,559 | 100% | ||
checkyzk | 0 | 26,351,358,394 | 98% | ||
saboin.pob | 0 | 0 | 2% | ||
onealfa.vyb | 0 | 0 | 2% | ||
oabreuf24 | 0 | 8,475,909,405 | 100% | ||
taradraz1 | 0 | 298,408,620 | 100% | ||
vindiesel1980 | 0 | 1,279,018,438 | 1.2% | ||
netvalar | 0 | 6,162,785,983 | 50% | ||
lukasbachofner | 0 | 990,310,485 | 1.2% | ||
benwickenton | 0 | 1,125,437,007 | 2.4% | ||
drivingindevon | 0 | 698,079,921 | 1.92% | ||
prosocialise | 0 | 25,195,208,681 | 15% | ||
archangel21 | 0 | 1,389,319,464 | 2.4% | ||
titly | 0 | 477,159,694 | 50% | ||
belug | 0 | 977,379,009 | 0.72% | ||
independance | 0 | 1,323,206,124 | 40% | ||
ricardoeloy | 0 | 615,083,800 | 6% | ||
windail1 | 0 | 1,944,968,274 | 100% | ||
nazom | 0 | 1,184,474,212 | 50% | ||
isiksenpalvoja | 0 | 528,318,381 | 40% | ||
raca75 | 0 | 683,643,271 | 50% | ||
baboz | 0 | 578,612,193 | 0.6% | ||
dtake | 0 | 4,774,503,675 | 100% | ||
soyjoselopez | 0 | 474,819,615 | 20% | ||
sbtofficial | 0 | 1,994,617,251 | 1.2% | ||
vagabond42069 | 0 | 620,345,964 | 15% | ||
inibless | 0 | 1,138,087,825 | 15% | ||
sc000 | 0 | 557,854,300 | 2.4% | ||
minava.museum | 0 | 1,740,744,047 | 40% | ||
lordnight72 | 0 | 572,671,126 | 40% | ||
jijisaurart | 0 | 571,299,184 | 1.2% | ||
leogomez1414 | 0 | 2,090,632,003 | 25% | ||
tuba777 | 0 | 642,928,865 | 15% | ||
smariam | 0 | 2,492,614,001 | 25% | ||
hive-fr | 0 | 3,619,836,340 | 40% | ||
clpacksperiment | 0 | 1,279,948,030 | 1.2% | ||
theoneblog | 0 | 2,172,696,776 | 50% | ||
humbe | 0 | 1,354,607,366 | 1% | ||
sapphireleopard | 0 | 863,893,423 | 40% | ||
aaronm04 | 0 | 959,514,196 | 50% | ||
arduilcelebren | 0 | 794,266,543 | 1.2% | ||
opticus | 0 | 2,103,342,705 | 1.2% | ||
lettinggotech | 0 | 526,586,623 | 1.2% | ||
timix648 | 0 | 1,029,052,788 | 100% | ||
rhemagames | 0 | 2,145,224,402 | 1.2% | ||
hive-fr-ithara | 0 | 979,743,545 | 40% | ||
johndeeback | 0 | 15,918,991,044 | 100% | ||
hive-fr-engine | 0 | 779,287,779 | 40% | ||
nabab | 0 | 764,771,775 | 40% | ||
ledonjon | 0 | 1,208,368,065 | 40% | ||
snippets | 0 | 131,003,200,919 | 100% |
<h3>Congratulations!</h3><hr /><div class="pull-right"><img src="https://images.hive.blog/DQmQLssYuuJP2neoTVUbMRzvAu4Ptg7Vwt92aTM7Z3gNovg/cb-logo-150.png" alt="You have obtained a vote from CHESS BROTHERS PROJECT"/></div><div class="text-justify"><h3>✅ Good job. Your post has been appreciated and has received support from <a href="/@chessbrotherspro"><b>CHESS BROTHERS</b></a> ♔ 💪</h3><p><br>♟ We invite you to use our hashtag <b>#chessbrothers</b> and learn more <a href="/@chessbrotherspro/introducing-chess-brothers-project-the-most-innovative-community-combining-chess-fitness-and-more"><b>about us</b></a>.</p><p>♟♟ You can also reach us on our <a href="https://discord.gg/73sK9ZTGqJ" rel="noopener" title="This is going to take you to the Discord of Chess Brothers"><b>Discord server</b></a> and promote your posts there.</p><p>♟♟♟ Consider <a href="/@chessbrotherspro/teamwork-is-worthwhile-join-the-chess-brothers-healing-trail-supporting-the-work-being-done-and-earning-rewards"><b>joining our curation trail</b></a> so we work as a team and you get rewards automatically.</p><p>♞♟ Check out our <a href="/@chessbrotherspro"><b>@chessbrotherspro</b></a> account to learn about the curation process carried out daily by our team.</p><p><br>🏅 If you want to earn profits with your HP delegation and support our project, we invite you to join the <i>Master Investor</i> plan. <a href='/@chessbrotherspro/master-investor-plan-or-programa'>Here you can learn how to do it.</a></p></div><div class="text-center"><p><br>Kindly</p><p><strong><em>The CHESS BROTHERS team</em></strong></p></div>
author | chessbrotherspro |
---|---|
permlink | re-objects-in-javascript-by-albro |
category | hive-169321 |
json_metadata | "" |
created | 2023-12-02 12:34:00 |
last_update | 2023-12-02 12:34:00 |
depth | 1 |
children | 0 |
last_payout | 2023-12-09 12:34:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,598 |
author_reputation | 78,000,753,163,525 |
root_title | "Objects in JavaScript By albro" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 129,349,181 |
net_rshares | 3,541,407,395 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
albro | 0 | 3,541,407,395 | 100% |
I haven't learned JavaScript yet but I could still understand all that you have said and that's because objects in JavaScript are a lot similar to dictionaries in python. The same curly brackets {} and property-value pairs (but in python we just call them key-value pairs)
author | kushyzee |
---|---|
permlink | re-albro-2023122t233111721z |
category | hive-169321 |
json_metadata | {"type":"comment","tags":["hive-169321","development","programming","posh","gosh","threads","hive-engine","neoxian","lassecash","tricks","leofinance"],"app":"ecency/3.0.44-mobile","format":"markdown+html"} |
created | 2023-12-02 22:31:12 |
last_update | 2023-12-02 22:31:12 |
depth | 1 |
children | 1 |
last_payout | 2023-12-09 22:31:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 273 |
author_reputation | 91,879,023,731,471 |
root_title | "Objects in JavaScript By albro" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 129,360,624 |
net_rshares | 3,544,177,907 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
albro | 0 | 3,544,177,907 | 100% |
I've always said this and I'll repeat it again: regardless of the different syntax, the principles are always the same. You should always learn the basics.
author | albro |
---|---|
permlink | re-kushyzee-2023123t13814756z |
category | hive-169321 |
json_metadata | {"tags":["hive-169321","development","programming","posh","gosh","threads","hive-engine","neoxian","lassecash","tricks","leofinance"],"app":"ecency/3.0.37-vision","format":"markdown+html"} |
created | 2023-12-03 09:38:15 |
last_update | 2023-12-03 09:38:15 |
depth | 2 |
children | 0 |
last_payout | 2023-12-10 09:38:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 155 |
author_reputation | 30,477,419,385,789 |
root_title | "Objects in JavaScript By albro" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 129,369,797 |
net_rshares | 0 |
https://inleo.io/threads/albro/re-leothreads-cgkruzvv <sub> The rewards earned on this comment will go directly to the people ( albro ) sharing the post on LeoThreads,LikeTu,dBuzz.</sub>
author | poshthreads | ||||||
---|---|---|---|---|---|---|---|
permlink | re-albro-objects-in-javascript-by-albro-1719 | ||||||
category | hive-169321 | ||||||
json_metadata | "{"app":"Poshtoken 0.0.2","payoutToUser":["albro"]}" | ||||||
created | 2023-12-02 11:21:15 | ||||||
last_update | 2023-12-02 11:21:15 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
last_payout | 2023-12-09 11:21:15 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 187 | ||||||
author_reputation | 415,471,585,053,248 | ||||||
root_title | "Objects in JavaScript By albro" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 0 | ||||||
post_id | 129,348,008 | ||||||
net_rshares | 0 |
<div class='text-justify'> <div class='pull-left'> <img src='https://stem.openhive.network/images/stemsocialsupport7.png'> </div> Thanks for your contribution to the <a href='/trending/hive-196387'>STEMsocial community</a>. Feel free to join us on <a href='https://discord.gg/9c7pKVD'>discord</a> to get to know the rest of us! Please consider delegating to the @stemsocial account (85% of the curation rewards are returned). You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. <br /> <br /> </div>
author | stemsocial |
---|---|
permlink | re-albro-objects-in-javascript-by-albro-20231203t002611867z |
category | hive-169321 |
json_metadata | {"app":"STEMsocial"} |
created | 2023-12-03 00:26:12 |
last_update | 2023-12-03 00:26:12 |
depth | 1 |
children | 0 |
last_payout | 2023-12-10 00:26:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 565 |
author_reputation | 22,918,491,691,707 |
root_title | "Objects in JavaScript By albro" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 129,362,755 |
net_rshares | 3,469,604,206 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
albro | 0 | 3,469,604,206 | 100% |