Node Scala assignment