So "at: x put: y" translates to a method named #at:put:(or "at:put:")?

|dict|
dict := Dictionary new.
dict at: 'foo' put: 'bar'.

So javascript equivalent would be(assuming the Dictionary object existed).

var dict;

dict = new Dictionary;
dict['at:put:']('foo', 'bar');



--
View this message in context: 
http://forum.world.st/How-do-Smalltalk-disambiguate-messages-tp4918946p4918951.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to