
A Deep Dive Into Some Nooks and Crannies of JavaScript - JSJ 535
JavaScript Jabber
00:00
I've Never Used Setters or Setters in a Jobskip Scripting Language
Most jobscrip developersexpect userland properties to be just simple properties, and would be surprised if a certain property behaved like a function when it was either read or written to. So i kind of avoid e setting properties individually. You can actually set the length property of an aray, which changes the length of the airay. If you do dot length equals zero, you've essentially removed all the elements from your aray. This is something that a lot of jobs could develop unfamiliar with. And agai, it exactly goes to this concept of getters and setters, where the length is a property that has a getter and a cetter on it. And and these
Play episode from 12:30
Transcript


