is there trees and stacks in javascript code example Example: javascript data structures //array df=[1,2]