Arduino String Length Array Javascript Methods Syntax