I know this is how it is written in the original, but it seems reasonable to me to write this as follows:
```js
canUseCssTransform3D = (has3d && has3d !== 'none');
```

(Same above.)