Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: get & set #5033

Closed
rafikalid opened this issue Apr 15, 2018 · 1 comment
Closed

Proposal: get & set #5033

rafikalid opened this issue Apr 15, 2018 · 1 comment

Comments

@rafikalid
Copy link

rafikalid commented Apr 15, 2018

Hi coffeescript,

This is a proposal form for getters & setters

getter() ->setter(value) ->

example

myObject = 
    myGetter() -> 'the value’
    mySetter(value) -> @_hiddenAttr= value

what you think about?

@GeoffreyBooth
Copy link
Collaborator

http://coffeescript.org/#unsupported-get-set and #4915, among others.

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

No branches or pull requests

2 participants