This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jeff Lin
Posted Sep 01 - Read on Facebook

Hi guys,
I'm trying to write a class but ran into trouble.
It works perfectly if I put in one parameter for the constructor,
but it fails if I put in more than one parameter.
Anyone knows why? : (
New to class, thanks in advance!

3 Comments

Rob Byrd

try removing the space between Car and the parameters Car("honda", "fit")

Juan J. Ramirez

Juan J. Ramirez

also you can bypass the parameter definition and put the properties inside the constructor like this (not a big difference but it's more elegant):

Read the entire post on Facebook