Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let client = {
- main_account_balance: 0,
- balance_setter: function(value) {
- console.log(value);
- console.log('balance_setter');
- this.main_account_balance = value;
- }
- };
- client.main_account_balance = 15;
- client.balance_setter(15);
- main_account_balance
Add Comment
Please, Sign In to add comment