Get the Root Node in hierarchy

Hi,
How can I get the root node (Canvas in my case) in a best way?

var rootNode = cc.find(“Canvas”);

Also

  1. let canvas = cc.game.canvas;
    Or
  2. let canvas = cc.director.getScene().getChildByName(“Canvas”);

1st way is most efficient out of all.