Scale $1 in java script

    Aug 15 2010 | 9:33 pm
    Hello, Iam trying to understand javascript.
    does anyone know how to add a scale $1 message inside javascript that has its own inlet so that I can feed it a number or another scale message and make my javascript) shape grow in size.
    so it is more clear here is an example of the max numbers I would like to pass to a javascript.