Re: [w3c/screen-orientation] Editorial: Example 1 (#133)

marcoscaceres commented on this pull request.



>  
-  screen.orientation.addEventListener("change", show);
-  window.onload = show;
+function show() {
+  const { type, angle } = screen.orientation;
+  console.log(`Orientation type is ${type} + angle is ${angle}`);

```suggestion
  console.log(`Orientation type is ${type} & angle is ${angle}`);
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/133#pullrequestreview-193564570

Received on Thursday, 17 January 2019 10:56:14 UTC