this post was submitted on 13 Nov 2023
13 points (88.2% liked)

JavaScript

2460 readers
14 users here now

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] relevants@feddit.de 0 points 2 years ago

I mean, the example kinda implies that this is on a Customer type. Otherwise you'd have a method getCustomerId instead.